[ https://issues.apache.org/jira/browse/HIVE-5459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasad Mujumdar updated HIVE-5459: ---------------------------------- Attachment: HIVE-5459.1.patch Sample output after the patch {noformat} $ build/dist/bin/hive --version --help Show Version information of hive jars ./hive --version [hiveJar] {noformat} {noformat} $ build/dist/bin/hive --version Hive 0.13.0-SNAPSHOT Subversion git://centos64.cloudera.com/home/prasadm/repos/apache/hive-0.13 -r 38a5d327d0dfcbbb42163d1076529c1eb6ca8b59 Compiled by prasadm on Sat Oct 5 12:47:42 PDT 2013 >From source with checksum 3ed168942def8ead3d5f7acb2a460ebd {noformat} {noformat} $ build/dist/bin/hive --version hive-service-*.jar Hive 0.13.0-SNAPSHOT Subversion git://centos64.cloudera.com/home/prasadm/repos/apache/hive-0.13 -r 38a5d327d0dfcbbb42163d1076529c1eb6ca8b59 Compiled by prasadm on Sat Oct 5 12:47:42 PDT 2013 >From source with checksum 3ed168942def8ead3d5f7acb2a460ebd {noformat} > Add --version option to hive script > ----------------------------------- > > Key: HIVE-5459 > URL: https://issues.apache.org/jira/browse/HIVE-5459 > Project: Hive > Issue Type: Bug > Components: Diagnosability > Affects Versions: 0.11.0, 0.12.0 > Reporter: Prasad Mujumdar > Assignee: Prasad Mujumdar > Attachments: HIVE-5459.1.patch > > > Hive jars already contain all the build information, similar to hadoop. This > was added as part of HiveServer2 feature. > We are still missing the command line wrapper to extract that information -- This message was sent by Atlassian JIRA (v6.1#6144)