Does not contain a valid HOST: Port Authority: MASTER: 8031 (configuration property 'yarn. ResourceManager. resource-tracker.address ')

Source: Internet
Author: User

Solution:
This error is: the configuration format in yarn is incorrect, for example:

<property><name>yarn.resourcemanager.address</name><value>Master:8032</value></property><property>
  

No space is allowed between <value> labels. Remove space OK.

 

The exception stack is as follows:

2014-08-30 10:20:30,171 INFO org.apache.hadoop.service.AbstractService: Service ResourceManager failed in state INITED; cause: java.lang.IllegalArgumentException: Does not contain a valid host:port authority:  Master:8031 (configuration property ‘yarn.resourcemanager.resource-tracker.address‘)java.lang.IllegalArgumentException: Does not contain a valid host:port authority:  Master:8031 (configuration property ‘yarn.resourcemanager.resource-tracker.address‘)        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:196)        at org.apache.hadoop.yarn.conf.YarnConfiguration.getSocketAddr(YarnConfiguration.java:1289)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService.serviceInit(ResourceTrackerService.java:122)        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)        at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:470)        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:823)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:226)        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1038)2014-08-30 10:20:30,171 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Transitioning to standby state2014-08-30 10:20:30,171 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Transitioned to standby state2014-08-30 10:20:30,171 FATAL org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error starting ResourceManagerjava.lang.IllegalArgumentException: Does not contain a valid host:port authority:  Master:8031 (configuration property ‘yarn.resourcemanager.resource-tracker.address‘)        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:196)        at org.apache.hadoop.yarn.conf.YarnConfiguration.getSocketAddr(YarnConfiguration.java:1289)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService.serviceInit(ResourceTrackerService.java:122)        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)        at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:470)        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:823)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:226)        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1038)2014-08-30 10:20:30,186 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: SHUTDOWN_MSG: /************************************************************SHUTDOWN_MSG: Shutting down ResourceManager at VM_160_34_centos/10.207.160.34************************************************************/

 

Does not contain a valid HOST: Port Authority: MASTER: 8031 (configuration property 'yarn. ResourceManager. resource-tracker.address ')

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.