hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Costa <psdc1...@gmail.com>
Subject Can't run randomtextwriter example
Date Fri, 26 Nov 2010 14:07:34 GMT
Hi,

I'm trying to run the randomtextwriter example, but I gor the following error:

$ bin/hadoop jar hadoop-0.20.2-dev-examples.jar randomtextwriter ~/temp/
Running 10 maps.
Job started: Fri Nov 26 14:05:34 WET 2010
java.io.IOException: No input paths specified in job
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:189)
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:247)
        at org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:898)
        at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:796)
        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:747)
        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1281)
        at org.apache.hadoop.examples.RandomTextWriter.run(RandomTextWriter.java:238)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.examples.RandomTextWriter.main(RandomTextWriter.java:249)
        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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
        at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64)
        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:156)

How to run the randomtextwriter example?
-- 
Pedro

Mime
View raw message