Created on 09-19-2016 03:28 PM - edited 09-16-2022 03:40 AM
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
Created 09-20-2016 09:26 AM
1. I assume you are using my sql
Check if MySQL connector jar file accessible to Hive
2. Check Meta store status
sudo service hive-metastore status
3. ps -ef | grep RunJar
4. Check Hive Server2 status
sudo service hive-server2 status
5. Finally check your hive-site.xml to see if you have missed the driver name
Created 09-20-2016 09:26 AM
1. I assume you are using my sql
Check if MySQL connector jar file accessible to Hive
2. Check Meta store status
sudo service hive-metastore status
3. ps -ef | grep RunJar
4. Check Hive Server2 status
sudo service hive-server2 status
5. Finally check your hive-site.xml to see if you have missed the driver name
Created 09-21-2016 02:21 PM
Created 09-21-2016 06:09 PM
Created on 10-09-2019 05:37 PM - edited 10-09-2019 06:13 PM