How to know Hive and Hadoop versions from command prompt? -


how can find hive version using command prompt. below details-

i using putty connect hive table , access records in tables. did is- opened putty , in host name typed- leo-ingesting.vip.name.com , click open. , entered username , password , few commands hive sql. below list did

$ bash bash-3.00$ hive hive history file=/tmp/rkost/hive_job_log_rkost_201207010451_1212680168.txt hive> set mapred.job.queue.name=hdmi-technology; hive> select * table limit 1; 

so there way command prompt can find hive version using , hadoop version too?

you can not hive version command line.

you can checkout hadoop version mentioned dave.

also if using cloudera distribution, directly @ libs:

ls /usr/lib/hive/lib/ , check hive library

hive-hwi-0.7.1-cdh3u3.jar 

you can check compatible versions here:

http://www.cloudera.com/content/cloudera/en/documentation/cdh5/v5-1-x/cdh-version-and-packaging-information/cdh-version-and-packaging-information.html


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -