rmadmin未在hadoop中连接(基于标签的调度)

bsxbgnwa  于 2021-06-02  发布在  Hadoop
关注(0)|答案(1)|浏览(367)

我给hadoopYarn集群贴标签
我已经正确地设置了所有节点的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)

my-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>
wz3gfoph

wz3gfoph1#

我唯一做的就是。。
已从yarn-site.xml中删除:

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

我认为这是矛盾的。。

相关问题