hadoop datanode听一个随机端口

时间:2016-08-19 10:53:20

标签: hadoop hadoop2 hadoop-2.7.2

Hadoop datanode监听一个随机端口(大于60000),这是文件名和键名,我可以自定义它吗?

2016-08-19 17:49:27,176 INFO org.apache.hadoop.ipc.CallQueueManager: Using callQueue class java.util.concurrent.LinkedBlockingQueue

2016-08-19 17:49:27,223 INFO org.apache.hadoop.ipc.Server: Starting Socket Reader #1 for port 64859

1 个答案:

答案 0 :(得分:0)

我现在知道了,它在yarn-site.xml中定义了

<property>
    <name>yarn.nodemanager.address</name>
    <value>${yarn.nodemanager.hostname}:0</value>
</property>