2016-03-15 89 views
0

我給標籤Hadoop的紗線集羣rmadmin 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) 

我的紗-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> 

回答

0

我唯一確實是..

從亞爾正site.xml中:

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

我認爲這是衝突的..