rmadmin没有连接hadoop纱线(基于标签的调度)

时间:2016-03-15 12:29:12

标签: hadoop yarn hadoop2 resourcemanager

我给hadoop纱线簇标签

我已正确设置了所有节点的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)

我的yarn-site.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>

1 个答案:

答案 0 :(得分:0)

我唯一做的就是......

从yarn-site.xml中删除了它:

<property>
      <name>yarn.node-labels.fs-store.root-dir</name>
      <value>hdfs://ankit21/</value>
 </property>

我认为这是相互矛盾的..