Database Reference
In-Depth Information
By example, I install Hue on the CentOS 6 server hc1nn, using the Linux-based yum command as the root user, as
follows:
[root@hc1nn ~]# yum install hue
[root@hc1nn ~]# yum install hue-server
Next, I add some configuration items to Hadoop for Hue. Specifically, under /etc/hadoop/conf, I add the
following entry to the hdfs-site.xml file at the bottom of the configuration section:
<property>
<name>dfs.webhdfs.enabled</name>
<value>true</value>
</property>
This enables a webhdfs Rest API on the name node and data nodes. I repeat this addition on all Hadoop nodes in
my cluster, then add the following changes to the Hadoop core-site.xml file in the same location:
<!-- Hue WebHDFS proxy user setting -->
<property>
<name>hadoop.proxyuser.hue.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.hue.groups</name>
<value>hadoop</value>
</property>
<property>
<name>hadoop.proxyuser.hcat.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.hcat.groups</name>
<value>hadoop</value>
</property>
<!-- set up hdfs trash collection advised by hue -->
<property>
<name>fs.trash.interval</name>
<value>10060</value>
</property>
By defining Hue's Hadoop proxy user settings, these first four entries define the host and group access for hue and
hcat . The final entry specifies the Hue file system trash interval.
 
Search WWH ::




Custom Search