我给哈多普纱线簇贴标签
我已经正确设置了所有节点的IP,并且它对所有其他应用程序都可以正常工作,但是为什么这种情况仅适用于rmadmin?
命令:
yarn rmadmin -replaceLabelsOnNode "pooja=fast kalpesh=slow"
我收到类似 ....
16/03/15 17:47:56 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8033. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/03/15 17:47:57 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8033. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/03/15 17:47:58 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8033. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/03/15 17:47:59 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8033. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/03/15 17:48:00 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8033. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
我的纱线网站.xml:
<configuration>
<!-- Site specific YARN configuration properties -->
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
<value>org.apache.hadoop.mapred.ShuffleHandler</value>
</property>
<property>
<name>yarn.resourcemanager.address</name>
<value>ankit21:8032</value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.address</name>
<value>ankit21:8030</value>
</property>
<property>
<name>yarn.resourcemanager.resource-tracker.address</name>
<value>ankit21:8031</value>
</property>
<property>
<name>yarn.node-labels.enabled</name>
<value>true</value>
</property>
<property>
<name>node.labels.monitor.interval </name>
<value>15000</value>
<description> Interval for checking the labels file for updates (default is 120000 ms)
</description>
</property>
<property>
<name>node.labels.file</name>
<value>/nodes_labels_new</value>
</property>
<property>
<name>yarn.node-labels.fs-store.root-dir</name>
<value>hdfs://ankit21/</value>
</property>
<property>
<name>yarn.resourcemanager.rmadmin.address</name>
<value>ankit21:8033</value>
</property>
</configuration>
我唯一做的是..
从纱线站点中删除了这个.xml:
<property>
<name>yarn.node-labels.fs-store.root-dir</name>
<value>hdfs://ankit21/</value>
</property>
我认为这是矛盾的。