Hi Bohdan,

Check *HiveVersionInfo* class
You may use *HiveVersionInfo.getVersion()* to get the hive version from
Java code.

Regards,
Amey


On Mon, 13 Aug 2018 at 16:14, Bohdan Kazydub <bohdan.kazy...@gmail.com>
wrote:

> No. Sorry, forgot to mention that this should be done from Java code.
>
> Best regards,
> Bohdan
>
> On Mon, Aug 13, 2018 at 12:53 PM, Devopam Mittra <devo...@gmail.com>
> wrote:
>
>> Can you achieve that with
>> hive --version ? using a simple script.
>>
>> regards
>> Dev
>>
>>
>> On Mon, Aug 13, 2018 at 2:49 PM Bohdan Kazydub <bohdan.kazy...@gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> is it possible to determine a version of Hive running on server using
>>> Hive (HiveMetaStoreClient etc.) 2.3.3?
>>>
>>> Best regards,
>>> Bohdan
>>>
>>
>>
>> --
>> Devopam Mittra
>> Life and Relations are not binary
>>
>
>

Reply via email to