On 21/09/10 08:17, Jing Tie wrote:
I am still suffering from the problem... Did anyone encounter it before? Or any suggestions?
Have you considered configuring the JT with a hostname other than "hostname", but instead with what the real machine's name is?
Many thanks in advance! Jing On Fri, Sep 17, 2010 at 5:19 PM, Jing Tie<[email protected]> wrote:Dear all, I am having this exception when starting jobtracker, and I checked by netstat that the port is not in use before running. Could you please point out where might be the problem? Many thanks in advance! 2010-09-17 17:07:22,863 FATAL org.apache.hadoop.mapred.JobTracker: java.net.BindException: Problem binding to hostname/ipaddress:45365 : Cannot assign requested address at org.apache.hadoop.ipc.Server.bind(Server.java:190) at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:253) at org.apache.hadoop.ipc.Server.<init>(Server.java:1026) at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:488) at org.apache.hadoop.ipc.RPC.getServer(RPC.java:450) at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1595) at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:183) at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:175) at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:3702) Caused by: java.net.BindException: Cannot assign requested address at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.apache.hadoop.ipc.Server.bind(Server.java:188) ... 8 more Configure in mapred-site.xml: <property> <name>mapred.job.tracker</name> <value>hostname:45365</value> </property> Best, Jing
