Configure HDP to Support Hue
For Hue to communicate properly with HDP components, some minor configuration changes of your HDP cluster are required.
Complete the instructions in this section using Ambari. Do not edit the configuration files directly.
Use Ambari to start and stop the services.
Use the
admin
account, login to the Ambari Web UI at http://localhost.com:8080 or or http://127.0.0.1:8080.Stop the namenode.
Select
Hosts
on the Navigation Header.Select the FQDN.
In this example,
sandbox.hortonworks.com
is the FQDN.Scroll down to
NameNode
and click onStarted
to reveal the drop down menu. SelectStop
from the drop down menu to stop the Namenode.Click
OK
to confirm.
Modify
hdfs-site
settings.Click on
HDFS
from theServices
menu on the left side of the screen.Click the
Configs
tab.Click
Advanced
.Scroll down to the
General
settings. Ensure that theWebHDFS enabled
checkbox is checked.
Modify the
core-site
settings.Click on
HDFS
from theServices
menu on the left side of the screen.Click the
Configs
tab.Click
Advanced
.Scroll down to
Custom core-site
settings.Ensure the
hadoop.proxyuser.hue.groups
andhadoop.proxyuser.hue.hosts
properties and their respective values are set.If they are not, add them, by clicking on
Add Property …
.Set the
Key
as the setting name (for example,hadoop.proxyuser.hue.hosts
) and theValue
as value, for example,*
. ClickAdd
.
Modify
oozie-site
settingsFrom the
Services
menu, clickOozie
.Click
Configs
.Scroll down to
Custom oozie-site
.Ensure that the
oozie.service.ProxyUserService.proxyuser.hue.groups
and theoozie.service.ProxyUserService.proxyuser.hue.hosts
properties are present.If they are not present, add them by clicking on
Add Property …
.
Modify
hive-site
settings.From the
Services
menu click onHive
.Click the
Configs
tab.Click
Advanced
.Ensure the
hive.server2.enable.doAs property
is present.If the
hive.server2.enable.doAs property
is not present, click onAdd Property …
and add it.