Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Cannot use Hive 2 connection using beeline

avatar

Hi all,

I'm trying to connect to HiveServer2 using beeline and using the information from Ambari:

73439-hive2-ambari.jpg

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.

1 ACCEPTED SOLUTION

avatar
Super Collaborator
@Jorge Florencio

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

View solution in original post

2 REPLIES 2

avatar
Super Collaborator
@Jorge Florencio

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

avatar

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.