2. Example Service Definitions

Configure each service that you want to expose externally, being careful to define the internal hostname and service ports of your cluster.

The following example uses the defaults ports and supported service names.

<service>
 <role>NAMENODE</role>
 <url>hdfs:// namenode-host :8020</url>
 </service>

 <service>
 <role>JOBTRACKER</role>
 <url>rpc:// jobtracker-host :8050</url>
 </service>

 <service>
 <role>RESOURCEMANAGER</role>
 <url>http://red3:8088/ws</url>
 </service> 

 <service>
 <role>WEBHDFS</role>
 <url>http://localhost:50070/webhdfs</url>
 </service>

 <service>
 <role>WEBHCAT</role>
 <url>http://webcat-host :50111/templeton</url>
 </service>

 <service>
 <role>OOZIE</role>
 <url>http://oozie-host :11000/oozie</url>
 </service>

 <service>
 <role>WEBHBASE</role>
 <url>http://webhbase-host :60080</url>
 </service>

 <service>
 <role>HIVE</role>
 <url>http://hive-host :10001/cliservice</url>
 </service>

loading table of contents...