URL url = JobTrackerInfoServer.class.getClassLoader().getResource("webapps"); String path = url.getPath(); (this is line 56 of JobTrackerInfoServer.java)

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html#getSystemResource(java.lang.String)

*Returns:*
   A |URL| <http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html>
   object for reading the resource, or null if the resource could not
   be found

Jeff



Rafit Izhak_Ratzin wrote:

Hi,

I just check out the latest svn version (376446), I built it from scratch.

When I tried to run the jobtrucker I got the next message in the jobtracker log file:

060209 164707 Property 'sun.cpu.isalist' is
Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.mapred.JobTrackerInfoServer.<init>(JobTrackerInfoServer.java:56)
       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:813)
060209 164707 Server handler 9 on 50020: starting

Next thing I did is copy the build directory under hadoop path into the nutch path,
and I didn't get any Exception.

nutch/conf also misses hadoop_default and mapred_default.

Thanks,

Rafit

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Reply via email to