2. Example of Service Definitions

Configure each service that you want to expose externally. 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>WEBHDFS</role>
        <url>http://webhdfs-host: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>

[Note]Note

Define the internal hostname and service ports of your cluster.


loading table of contents...