在Hadoop中,我可以在哪里更改namenode和jobtracker网页的默认网址端口50070和50030 [英] In Hadoop, where can i change default url ports 50070 and 50030 for namenode and jobtracker webpages

查看:272
本文介绍了在Hadoop中,我可以在哪里更改namenode和jobtracker网页的默认网址端口50070和50030的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 <$ c必须有方法来更改端口50070和50030,以便以下网址显示端口上的clustr状态$ c> NameNode  -  http:// localhost:50070 / 
JobTracker - http:// localhost:50030 /


<通过为Namenode和 dfs.http.address 来定义您选择的端口在conf / core-site.xml中为Jobtracker提供> mapred.job.tracker.http.address :

 <结构> 

<属性>
<名称> dfs.http.address< / name>
<值> 50070< /值>
< / property>

<属性>
<名称> mapred.job.tracker.http.address< / name>
<值> 50030< /值>
< / property>

< / configuration>


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/

解决方案

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>

这篇关于在Hadoop中,我可以在哪里更改namenode和jobtracker网页的默认网址端口50070和50030的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆