Saturday, 18 June 2022

Get the Hive version from terminal

Approach 1: Execute the command ‘hive --version’ from a terminal.

[cloudera@quickstart conf]$ hive --version
Hive 1.1.0-cdh5.13.0
Subversion file:///data/jenkins/workspace/generic-package-rhel64-6-0/topdir/BUILD/hive-1.1.0-cdh5.13.0 -r Unknown
Compiled by jenkins on Wed Oct 4 11:06:55 PDT 2017
From source with checksum 4c9678e964cc1d15a0190a0a1867a837

Approach 2: Execute the query ‘SELECT version();’ from hive interactive terminal.

hive> SELECT version();
OK
1.1.0-cdh5.13.0 rUnknown
Time taken: 1.224 seconds, Fetched: 1 row(s)


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment