Yarn Connecting to ResourceManager

18/04/27 09:09:58 INFO RMProxy: Connecting to ResourceManager at cn-bji-p-dmp02/10.86.210.12:8050
18/04/27 09:09:59 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:00 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:01 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:02 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)

18/04/27 09:09:58 INFO RMProxy: Connecting to ResourceManager at cn-bji-p-dmp02/10.86.210.12:8050
18/04/27 09:09:59 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:00 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
18/04/27 09:10:01 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)

18/04/27 09:10:02 INFO Client: Retrying connect to server: cn-bji-p-dmp02/10.86.210.12:8050. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)

查看cn-bji-p-dmp02服务器8050端口,发现此端口不通。


查看yarn-site.xml配置:

发现


  
    yarn.resourcemanager.address
    cn-bji-p-dmp02:8050
  
  
    yarn.resourcemanager.admin.address
    cn-bji-p-dmp02:8033
  
  
    yarn.resourcemanager.scheduler.address
    cn-bji-p-dmp02:8030
  
  
    yarn.resourcemanager.resource-tracker.address
    cn-bji-p-dmp02:8041

  

可能

yarn.resourcemanager.address

是由

yarn.resourcemanager.scheduler.address

的端口自动生成的。

修改成

  
    yarn.resourcemanager.address
    cn-bji-p-dmp02:8032
  
  
    yarn.resourcemanager.admin.address
    cn-bji-p-dmp02:8033
  
  
    yarn.resourcemanager.scheduler.address
    cn-bji-p-dmp02:8030
  
  
    yarn.resourcemanager.resource-tracker.address
    cn-bji-p-dmp02:8031
  

你可能感兴趣的:(Yarn Connecting to ResourceManager)