Hi,
I have an host |HostA| that has a public and a private IP address [1]. I
want to configure Yarn MapReduce so that it is possible to submit jobs
remotely.
I have put the public IP in the yarn-site.xml [2], but still can’t
launch the resource manager [3]. How can I enable MapReduce to accept
remote jobs submission?
[1]
|Hostname: HostA
Public IP: 205.172.170.25
Private IP: 172.16.100.1
|
[2]
|<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property> <name>yarn.resourcemanager.resource-tracker.address</name>
<value>205.172.170.25:8025</value> </property>
<property> <name>yarn.resourcemanager.scheduler.address</name>
<value>205.172.170.25:8030</value> </property>
<property> <name>yarn.resourcemanager.address</name>
<value>205.172.170.25:8040</value> </property>
<!-- job history -->
<property> <name>yarn.log-aggregation-enable</name> <value>true</value>
</property>
<property> <name>yarn.nodemanager.log.retain-seconds</name> <value>900000</value>
</property>
<property> <name>yarn.nodemanager.remote-app-log-dir</name> <value>/app-logs</value>
</property>
<!-- proxy -->
<property><name>yarn.web-proxy.address</name><value>205.172.170.25:9046</value></property>
</configuration>
|
[4]
|org.apache.hadoop.yarn.exceptions.YarnRuntimeException:
java.net.BindException: Problem binding to [205.172.170.25:8025]
java.net.BindException: Cannot assign requested a
ddress; For more details see:http://wiki.apache.org/hadoop/BindException
|
—
Thanks,
--
--