Troubleshooting Hive

https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cdh_ig_hiveserver2_start_stop.html

Check if Hive metastore is running
sudo service hive-metastore status
sudo service hive-metastore stop
sudo service hive-metastore start
sudo service hive-metastore restart

sudo service hive-server2 stop

Check if Hive Server2 is running
$ sudo service hive-server2 status

Start HiveServer2:
$ sudo service hive-server2 start

To stop HiveServer2:
$ sudo service hive-server2 stop

Check Hive warehouse
hadoop fs -ls /user/hive/warehouse

Connect using Beeline
beeline -u jdbc:hive2://
!connect -u jdbc:hive2://

Comments

Popular posts from this blog

How to create an organizational chart in your webpage using Google Organization Chart Tools

Embed JSX code with if condition in React app