Hi,
I am new to this group.
I have compiled hadoop-0.15.3 with eclipse on my Fedora system .
*I am able to run the example for grep through command prompt successfully.*
(bin/hadoop jar hadoop-0.15.3-examples.jar grep Wdfs/ Woutput/ hey)
But , it gives me following error while when I try to run through eclipse...
I use run dialog box of eclipse and specify Main class
(org.apache.hadoop.examples.Grep) and program arguments correctly(Wdfs/
Woutput/ hey).
Please help....
2008-03-13 11:24:59,639 INFO jvm.JvmMetrics (JvmMetrics.java:init(67))
- Initializing JVM Metrics with processName=JobTracker, sessionId=
2008-03-13 11:24:59,782 INFO mapred.FileInputFormat
(FileInputFormat.java:validateInput(153)) - Total input paths to process : 1
2008-03-13 11:24:59,978 WARN conf.Configuration
(Configuration.java:loadResource(907)) -
build/test/mapred/local/localRunner/job_local_1.xml:a attempt to
override final parameter: hadoop.tmp.dir; Ignoring.
2008-03-13 11:24:59,982 INFO mapred.JobClient
(JobClient.java:runJob(811)) - Running job: job_local_1
2008-03-13 11:25:00,985 INFO mapred.JobClient
(JobClient.java:runJob(834)) - map 0% reduce 0%
2008-03-13 11:25:11,587 INFO mapred.MapTask (MapTask.java:run(174)) -
numReduceTasks: 1
2008-03-13 11:25:17,793 WARN mapred.LocalJobRunner
(LocalJobRunner.java:run(223)) - job_local_1
java.lang.NullPointerException
at
org.apache.hadoop.io.serializer.SerializationFactory.<init>(SerializationFactory.java:52)
at
org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:325)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:177)
at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:150)
Exception in thread "main" java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:900)
at org.apache.hadoop.examples.Grep.run(Grep.java:71)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.examples.Grep.main(Grep.java:97)
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments contained in it.
Contact your Administrator for further information.