Skip to content
T H Beh edited this page Jul 21, 2014 · 14 revisions

Welcome to the hdp-ambari wiki!

This is a clone from sequenceiq/ambari with HUE install

Setup Procedures:

docker run -d -P -h amb0.mycorp.kom --name ambari-singlenode thbeh/ambari --tag ambari-server=true

AMBARI_IP=$(docker inspect --format "{{.NetworkSettings.IPAddress}}" ambari-singlenode) docker run -it --rm sequenceiq/ambari-shell --ambari.host=$AMBARI_IP

blueprint defaults blueprint list cluster build --blueprint hdp-singlenode-default //single-node-hdfs-yarn cluster autoAssign cluster create tasks

Stopped Services curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}' http://$AMBARI_IP:8080/api/v1/clusters/hdp-singlenode-default/services/STORM

Delete Services curl -u admin:admin -H "X-Requested-By:ambari" -X DELETE http://$AMBARI_IP:8080/api/v1/clusters/hdp-singlenode-default/services/STORM

Additional Steps - Hue

Configure core-site.xml using Ambari

<property>
  <name>hadoop.proxyuser.hue.hosts</name>
  <value>*</value>
</property>

                </p><pre class="programlisting">&lt;property&gt;

<name>hadoop.proxyuser.hue.groups</name> <value></value> </property>

<property>
<name>hadoop.proxyuser.hcat.groups</name>
<value>
</value> </property>

<property>
<name>hadoop.proxyuser.hcat.hosts</name>
<value>*</value>
</property>

Configure webhcat-site.xml using Ambari

<property>
  <name>webhcat.proxyuser.hue.hosts</name>   
  <value>*</value> 
</property> 

                </p><pre class="programlisting">&lt;property&gt;   

<name>webhcat.proxyuser.hue.groups</name>
<value>*</value> </property>

Configure oozie-site.xml using Ambari

<property>
  <name>oozie.service.ProxyUserService.proxyuser.hue.hosts</name>
  <value>*</value>
</property> 
<property>   
  <name>oozie.service.ProxyUserService.proxyuser.hue.groups</name>
  <value>*</value> 
</property> 
Clone this wiki locally