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
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://
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-metastore restart
sudo service hive-server2 stop
$ 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
Post a Comment