-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.11.0
-
Fix Version/s: 0.11.0
-
Component/s: HiveServer2
-
Labels:None
-
Release Note:
When running beeline
% 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
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
- is duplicated by
-
HIVE-4425 HiveSessionImpl contains hard-coded version number
-
- Resolved
-