I just finished installing a three node Hadoop cluster using Ambari
1.7. When i openned Hue selected 'check configuration' I got this
error:

hadoop.hdfs_clusters.default.webhdfs_url Current value:
http://namenode.localdomain.com:50070/webhdfs/v1/
Failed to access filesystem root.  Where is the value
hadoop.hdfs_clusters.default.webhdfs_url set in Ambari?

The steps I used to install Hue are as follows:
1. yum install hue
2. /etc/init.d/hue start

I maked the following change to /etc/hue/conf.empty/hue.ini
  [[hdfs_clusters]]

    [[[default]]]
      # Enter the filesystem uri
      # fs_defaultfs=hdfs://localhost:8020
      fs_defaultfs=hdfs://namenode.localdomain.com:8020

When I log onto the namenode directly and log into the command line of
Pig I get this:
[root@namenode etc]# pig
2014-12-19 15:21:44,463 [main] INFO  org.apache.pig.Main - Apache Pig
version 0.12.1.2.1.7.0-784 (rexported) compiled Oct 25 2014, 10:03:44
2014-12-19 15:21:44,464 [main] INFO  org.apache.pig.Main - Logging
error messages to: /etc/pig_1419024104461.log
2014-12-19 15:21:44,532 [main] INFO  org.apache.pig.impl.util.Utils -
Default bootup file /root/.pigbootup not found
2014-12-19 15:21:45,730 [main] INFO
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine -
Connecting to hadoop file system at:
hdfs://namenode.localdomain.com:8020
grunt>


David Novogrodsky
david.novogrod...@gmail.com
http://www.linkedin.com/in/davidnovogrodsky

Reply via email to