Recent activity
Subscribe to this feed
Ryan reported a problem in Cloudera on March 18, 2009 04:29:
NullPointerException running Hadoop Job on FedoraI tried running the Hadoop example at:
http://berkeley-mltea.pbwiki.com/f/ha...
(file comes with a readme) I followed the readme, and attempted to run the example as ryan (myself), hadoop as well as root. I am running Fedora 9 with Sun Java 1.6, and get the following errors:
[ryan@localhost hadoop_example]$ hadoop jar simpleLogReg.jar hadoopml.SimpleLogReg data.txt 10
Starting iteration 1
Running evalObjGrad job...
09/03/17 21:26:45 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=
09/03/17 21:26:45 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
09/03/17 21:26:45 INFO mapred.FileInputFormat: Total input paths to process : 1
09/03/17 21:26:45 INFO mapred.FileInputFormat: Total input paths to process : 1
09/03/17 21:26:46 INFO mapred.FileInputFormat: Total input paths to process : 1
09/03/17 21:26:46 INFO mapred.FileInputFormat: Total input paths to process : 1
09/03/17 21:26:46 INFO mapred.JobClient: Running job: job_local_0001
09/03/17 21:26:46 INFO mapred.MapTask: numReduceTasks: 1
09/03/17 21:26:46 INFO mapred.MapTask: io.sort.mb = 100
09/03/17 21:26:46 INFO mapred.MapTask: data buffer = 79691776/99614720
09/03/17 21:26:46 INFO mapred.MapTask: record buffer = 262144/327680
09/03/17 21:26:46 WARN mapred.LocalJobRunner: job_local_0001
java.lang.NullPointerException
at hadoopml.SimpleLogReg.readWFromParamsFile(SimpleLogReg.java:230)
at hadoopml.SimpleLogReg$EvalObjGradMapper.configure(SimpleLogReg.java:256)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:82)
at org.apache.hadoop.mapred.MapRunner.configure(MapRunner.java:33)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:82)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:223)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:157)
java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1113)
at hadoopml.SimpleLogReg.runJob(SimpleLogReg.java:217)
at hadoopml.SimpleLogReg.evalObjGrad(SimpleLogReg.java:138)
at hadoopml.SimpleLogReg.train(SimpleLogReg.java:116)
at hadoopml.SimpleLogReg.run(SimpleLogReg.java:80)
at hadoopml.SimpleLogReg.main(SimpleLogReg.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
with the same configuration on Mac OS 10.6, it works fine.-
Ryan started following the problem "Why Older button is not working?" in Twitter.
Ryan replied on August 05, 2008 03:11 to the discussion "Some nasty techniques used by Twitter Spammers" in Twitter:
-
Ryan started following the question "Where do Tweets go to die?" in Twitter.
Loading Profile...
