You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Tim Patton <tp...@dealcatcher.com> on 2006/02/27 20:42:30 UTC

Problem Starting Tracker

I am having trouble getting the example here running:
http://lucene.apache.org/hadoop/docs/api/overview-summary.html.  I've got
cygwin and ssh set up correctly as well as edited all the environment
variables correctly.  When I run the start all scripts, I get this error for
the job tracker:

 

060227 143153 Property 'sun.cpu.isalist' is 

060227 143153 Starting tracker

java.io.IOException: The filename, directory name, or volume label syntax is
incorrect

            at java.io.WinNTFileSystem.canonicalize0(Native Method)

            at
java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)

            at java.io.File.getCanonicalPath(File.java:531)

            at
org.apache.hadoop.mapred.JobTrackerInfoServer.<init>(JobTrackerInfoServer.ja
va:64)

            at
org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:303)

            at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:50)

            at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:820)

060227 143154 parsing
file:/C:/java/lib/hadoop-nightly/conf/hadoop-default.xml

060227 143154 parsing
file:/C:/java/lib/hadoop-nightly/conf/mapred-default.xml

060227 143154 parsing file:/C:/java/lib/hadoop-nightly/conf/hadoop-site.xml

060227 143154 Starting tracker

java.net.BindException: Address already in use: JVM_Bind

            at java.net.PlainSocketImpl.socketBind(Native Method)

            at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)

            at java.net.ServerSocket.bind(ServerSocket.java:319)

            at java.net.ServerSocket.<init>(ServerSocket.java:185)

            at java.net.ServerSocket.<init>(ServerSocket.java:97)

            at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:80)

            at org.apache.hadoop.ipc.Server.start(Server.java:244)

            at
org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:294)

            at
org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:50)

            at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:820)

060227 143155 Server connection on port 9901 from 127.0.0.1: starting

 

It then loops with the bind error forever.  I'm not sure what file the
tracker is looking for or if this is a problem translating between
cygwin/windows paths.  Which paths should my hadoop.xml files use?  Do I
need to change the tmp directories from the defaults?  I've also tried
changing the port number, but I always get the bind error.

 

Tim