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

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

我给hadoopYarn集群贴标签
我已经正确地设置了所有节点的ip,并且它对所有其他应用程序都正常工作,但是为什么只对rmadmin发生这种情况呢?
命令:

  1. yarn rmadmin -replaceLabelsOnNode "pooja=fast kalpesh=slow"

我得到的错误像。。。。。。。

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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:

  1. <configuration>
  2. <!-- Site specific YARN configuration properties -->
  3. <property>
  4. <name>yarn.nodemanager.aux-services</name>
  5. <value>mapreduce_shuffle</value>
  6. </property>
  7. <property>
  8. <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
  9. <value>org.apache.hadoop.mapred.ShuffleHandler</value>
  10. </property>
  11. <property>
  12. <name>yarn.resourcemanager.address</name>
  13. <value>ankit21:8032</value>
  14. </property>
  15. <property>
  16. <name>yarn.resourcemanager.scheduler.address</name>
  17. <value>ankit21:8030</value>
  18. </property>
  19. <property>
  20. <name>yarn.resourcemanager.resource-tracker.address</name>
  21. <value>ankit21:8031</value>
  22. </property>
  23. <property>
  24. <name>yarn.node-labels.enabled</name>
  25. <value>true</value>
  26. </property>
  27. <property>
  28. <name>node.labels.monitor.interval </name>
  29. <value>15000</value>
  30. <description> Interval for checking the labels file for updates (default is 120000 ms)
  31. </description>
  32. </property>
  33. <property>
  34. <name>node.labels.file</name>
  35. <value>/nodes_labels_new</value>
  36. </property>
  37. <property>
  38. <name>yarn.node-labels.fs-store.root-dir</name>
  39. <value>hdfs://ankit21/</value>
  40. </property>
  41. <property>
  42. <name>yarn.resourcemanager.rmadmin.address</name>
  43. <value>ankit21:8033</value>
  44. </property>
  45. </configuration>
wz3gfoph

wz3gfoph1#

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

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

我认为这是矛盾的。。

相关问题