[
https://issues.apache.org/jira/browse/YARN-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738002#comment-13738002
]
rvller commented on YARN-1059:
------------------------------
It was my fault, I've changed another parameter to one line in the XML, so
that's why RM was not able to start.
When I changed all of the parameters to one line
(<value>10.245.1.30:9030</value> and etc) RM wa able to start.
I suppose that this is a bug, because it's confusing.
> IllegalArgumentException while starting YARN
> --------------------------------------------
>
> Key: YARN-1059
> URL: https://issues.apache.org/jira/browse/YARN-1059
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 2.0.5-alpha
> Environment: Ubuntu 12.04, hadoop 2.0.5
> Reporter: rvller
>
> Here is the traceback while starting the yarn resourse manager:
> 2013-08-12 12:53:29,319 FATAL
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error starting
> ResourceManager
> java.lang.IllegalArgumentException: Does not contain a valid host:port
> authority:
> 10.245.1.30:9030
> (configuration property 'yarn.resourcemanager.resource-tracker.address')
> at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:193)
> at
> org.apache.hadoop.conf.Configuration.getSocketAddr(Configuration.java:1450)
> at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService.init(ResourceTrackerService.java:105)
> at
> org.apache.hadoop.yarn.service.CompositeService.init(CompositeService.java:58)
> at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.init(ResourceManager.java:255)
> at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:710)
> And here is the yarn-site.xml:
> <configuration>
> <property>
> <name>
> yarn.resourcemanager.address
> </name>
> <value>
> 10.245.1.30:9010
> </value>
> <description>
> </description>
> </property>
> <property>
> <name>
> yarn.resourcemanager.scheduler.address
> </name>
> <value>
> 10.245.1.30:9020
> </value>
> <description>
> </description>
> </property>
> <property>
> <name>
> yarn.resourcemanager.resource-tracker.address
> </name>
> <value>
> 10.245.1.30:9030
> </value>
> <description>
> </description>
> </property>
> <property>
> <name>
> yarn.resourcemanager.admin.address
> </name>
> <value>
> 10.245.1.30:9040
> </value>
> <description>
> </description>
> </property>
> <property>
> <name>
> yarn.resourcemanager.webapp.address
> </name>
> <value>
> 10.245.1.30:9050
> </value>
> <description>
> </description>
> </property>
> <!-- Site specific YARN configuration properties -->
> </configuration>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira