Re: Programmatically determine version of Hive running on server

2018-08-15 Thread Bohdan Kazydub
Hi Amey, thank you for the suggestion, but wouldn't it return Hive version of the client? Just to clarify, in my case, project uses Hive libraries to communicate with Hive metastore, version of which I should obtain, running on a (remote) server. Best regards, Bohdan On Mon, Aug 13, 2018 at 3:03

Re: Programmatically determine version of Hive running on server

2018-08-13 Thread Amey Barve
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 wrote: > No. Sorry, forgot to mention that this should be done from Java code. > > Best regards, > Bohdan > >

Re: Programmatically determine version of Hive running on server

2018-08-13 Thread Bohdan Kazydub
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 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 > wrot

Re: Programmatically determine version of Hive running on server

2018-08-13 Thread Devopam Mittra
Can you achieve that with hive --version ? using a simple script. regards Dev On Mon, Aug 13, 2018 at 2:49 PM Bohdan Kazydub 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 > -- De

Programmatically determine version of Hive running on server

2018-08-13 Thread Bohdan Kazydub
Hi all, is it possible to determine a version of Hive running on server using Hive (HiveMetaStoreClient etc.) 2.3.3? Best regards, Bohdan