Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Beeline connection error

Highlighted

Beeline connection error

Contributor

I am new in Hadoop. I have cloudera (pseudo mode) in my system and I have downloaded it in Virtual Box. I am unable to connect to Beeline. The error which I am getting:-

[cloudera@quickstart ~]$ beeline

2016-09-18 20:10:18,995 WARN [main] mapreduce.TableMapReduceUtil: The hbase-prefix-tree module jar containing PrefixTreeCodec is not present. Continuing without it. Beeline version 1.1.0-cdh5.7.0 by Apache Hive

beeline> show databases;

No current connection

beeline> !connect jdbc:hive2//hostname:10000 scan complete in 5ms scan complete in 6272ms No known driver to handle "jdbc:hive2//hostname:10000"

beeline>

In this, I think I need to download the jdbc driver but while using sqoop with hive, I am able to use jdbc connection. Moreover can u please tell how I can check whether my server2 is running or not. I am working in VB cloudera, so i don't know how to download the things @ username

1 REPLY 1

Re: Beeline connection error

Guru

@Priyanka Munjal

Please work with the Hortonworks Sandbox. You will find it easy to work with, including the beeline client and many tutorials to get a newcomer started.

  1. Download the Hortonworks Sandbox from here: https://hortonworks.com/downloads/#data-platform
  2. Import it into Virtual Box and start it.
  3. Take a little bit of time to understand the sandbox: https://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/
  4. Follow the tutorial on Hive and beeline in sections 1 and 2 here: http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/#...
  5. Continue learning big data here: https://hortonworks.com/tutorials/
Don't have an account?
Coming from Hortonworks? Activate your account here