[ https://issues.apache.org/jira/browse/HIVE-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646301#comment-13646301 ]
Hudson commented on HIVE-4373: ------------------------------ Integrated in Hive-trunk-hadoop2 #183 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/183/]) HIVE-4373 : Hive Version returned by HiveDatabaseMetaData.getDatabaseProductVersion is incorrect (Thejas Nair via Ashutosh Chauhan) (Revision 1477249) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1477249 Files : * /hive/trunk/common/build.xml * /hive/trunk/jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java * /hive/trunk/jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java * /hive/trunk/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java > Hive Version returned by HiveDatabaseMetaData.getDatabaseProductVersion is > incorrect > ------------------------------------------------------------------------------------ > > Key: HIVE-4373 > URL: https://issues.apache.org/jira/browse/HIVE-4373 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.11.0 > Reporter: Deepesh Khandelwal > Assignee: Thejas M Nair > Priority: Minor > Fix For: 0.11.0 > > Attachments: HIVE-4373.1.patch, HIVE-4373.2.patch, HIVE-4373.3.patch > > > When running beeline > {code} > % beeline -u 'jdbc:hive2://localhost:10000' -n hive -p passwd -d > org.apache.hive.jdbc.HiveDriver > Connecting to jdbc:hive2://localhost:10000 > Connected to: Hive (version 0.10.0) > Driver: Hive (version 0.11.0) > Transaction isolation: TRANSACTION_REPEATABLE_READ > {code} > The Hive version in the "Connected to: " string says 0.10.0 instead of 0.11.0. > Looking at the code it seems that the version is hardcoded at two places: > line 250 in jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java > line 833 in jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira