2015년 1월 1일 목요일

[hue-user] Can hue installed on a pc that outside the cluster(means the pc don't have a hadoop and hive on ) and connect the remote hiveserver2(means using the beeswax well)

At the beginning i installed hue on my own pc and connect my own hadoop and hive,it works well as i following the configuration guide.Then they what me connect their hive on a remote pc,I looked through the manual,and there exits hadoop configure and hive configure.I am confused that i connect the remote and i am not in the cluster,so they don't use my hadoop configuration at all.But how to configure hue,i think it not be change a ip address that easy(cause it doesn't work!)



Yes, Hue can be outside of the cluster, see Slide #20 ofhttp://gethue.com/yahoo-hadoop-meetup-integrate-hue-with-your-hadoop-cluster/
In certain cases, you will have to copy the /etc/hive/conf/hive-site.xml on the Hue machine too:

http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/



Yes, if the HDFS Name Node is on this machine, you will need to replace 'localhost' with the IP or the hostname of the NN (it is more simple to put a hostname in general). This property is used when submitting Oozie Workflows or Pig scripts.



I tried but there came new problem.

hadoop.hdfs_clusters.default.webhdfs_url:Current value:http://10.1.65.10:50070/webhdfs/v1
Failed to create temporary file "/tmp/hue_config_validation.3946980924113611917"

Hive Editor Failed to access Hive warehouse: hdfs://10.1.65.10:8020/inceptor1/user/hive/warehouse


댓글 없음:

댓글 쓰기