Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

beeline - no current connection

avatar
Contributor

Hi,

I'm currently working through tutorial

http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/#...

Section 2.2.10 - Beeline

As instructed I do the following

1. Run Putty

2. Login as maria_dev

3. run 'sudo su hive' (su hive just asks me for a password and I've tried maria_dev's and roots with no luck)

4. run 'beeline'

5. beeline starts and I get the version number and the prompt changes to beeline>

But then no matter what I run I get the message back 'No current connection'.

Even if I run 'quit;' The steps in the tutorial seem pretty basic so I dont know where I'm going wrong. Any ideas?

Thanks, Nic

1 ACCEPTED SOLUTION

avatar
Master Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
3 REPLIES 3

avatar
Master Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar

@Nic Hopper

If you have Kerberos enabled you need to connect as:

!connect jdbc:hive2://<hiveserver2_hostname>:10001/<database_name>;transportMode=http;httpPath=cliservice;principal=<hive_principal>

avatar
Contributor

Thank you both for the responses. Greatly appreciate both.

Kuldeep - That worked perfectly

Daniel - Very useful to know, I'm sure it will end up being used down the line.