- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Cannot use Hive 2 connection using beeline
- Labels:
-
Apache Hive
Created on ‎05-11-2018 12:01 PM - edited ‎08-18-2019 01:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm trying to connect to HiveServer2 using beeline and using the information from Ambari:
Connected to: Apache Hive (version 1.2.1000.2.6.2.14-5) Driver: Hive JDBC (version 1.2.1000.2.6.2.14-5) Transaction isolation: TRANSACTION_REPEATABLE_READ Beeline version 1.2.1000.2.6.2.14-5 by Apache Hive
Why is still using Hive version 1.2 ?
Many thanks in advance,
Jorge.
Created ‎05-11-2018 12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We used Hive 2 currently for LLAP functionality, and Hive 1 for Hive on Tez. If you enable "Interactive Query" in the Configs tab you'll see the following output when you connect via Beeline.
Let me know if there is a particular reason you want to use Hive 2.
Connected to: Apache Hive (version 2.1.0.2.6.4.0-91) Driver: Hive JDBC (version 1.2.1000.2.6.4.0-91) Transaction isolation: TRANSACTION_REPEATABLE_READ
Created ‎05-11-2018 12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We used Hive 2 currently for LLAP functionality, and Hive 1 for Hive on Tez. If you enable "Interactive Query" in the Configs tab you'll see the following output when you connect via Beeline.
Let me know if there is a particular reason you want to use Hive 2.
Connected to: Apache Hive (version 2.1.0.2.6.4.0-91) Driver: Hive JDBC (version 1.2.1000.2.6.4.0-91) Transaction isolation: TRANSACTION_REPEATABLE_READ
Created ‎05-17-2018 03:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @anarasimham,
after enabling interactive query we can use Hive 2.1.
Hive users were asking for this feature because they needed to use Hive 2.1 syntax in their queries.
Many thanks for your help,
Jorge.
