Hue問題記錄

問題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/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章