問題1:
Could not connect to quickstart.cloudera:10000
gotten and still exists when having issued:
sudo service hive-server2 restart
解決方案:
sudo -u hdfs hadoop dfsadmin -safemode leave
service hive-metastore restart
netstat -tanp | grep 10000
問題2:
java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
解決方案:
原因:因爲沒有正常啓動Hive 的 Metastore Server服務進程。
解決方法:啓動Hive 的 Metastore Server服務進程,執行如下命令:
./hive --service metastore &
netstat -tanp | grep 9083
kill -9 進程號
hive --service metastore &
重點目錄位置3:
查看服務
[root@quickstart /]# cd /etc/init.d/
[root@quickstart init.d]# ls
命令位置
[root@quickstart init.d]# which hive
/usr/bin/hive
hue.ini文件配置
[root@quickstart init.d]# find / -name hue.ini
/etc/hue/conf.empty/hue.ini
[root@quickstart init.d]# vim /etc/hue/conf.empty/hue.ini
問題4:
Hive Failed to access Hive warehouse: /user/hive/warehouse
http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/