Search code examples
hadoopnosqlmapreducehbaseelastic-map-reduce

In Hadoop, where can i change default url ports 50070 and 50030 for namenode and jobtracker webpages


There must be a way to change the ports 50070 and 50030 so that the following urls display the clustr statuses on the ports i pick

NameNode - http://localhost:50070/
JobTracker - http://localhost:50030/

Solution

  • Define your choice of ports by setting properties dfs.http.address for Namenode and mapred.job.tracker.http.address for Jobtracker in conf/core-site.xml:

    <configuration>
    
        <property>
            <name>dfs.http.address</name>
            <value>50070</value>
        </property>
    
        <property>
            <name>mapred.job.tracker.http.address</name>
            <value>50030</value>
        </property>
    
    </configuration>