hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhishek sharma <absha...@usc.edu>
Subject Re: How does the 'hadoop' command work?
Date Fri, 05 Feb 2010 21:21:40 GMT
Did you add the path to your home directory where the
MaxTemperature.class is into the Hadoop classpath?
I guess hadoop-env.sh  in ${HADOOP_HOME}/conf would be one place to do it.

Abhishek

On Fri, Feb 5, 2010 at 1:14 PM, Prateek Jindal <jindal2@illinois.edu> wrote:
> Hello Hadoop users,
>
> I am new to MapReduce. I had the following question. Please help me
> regarding this.
>
> "I am trying to run a very basic mapReduce application.
>
> I copied *.java files (Mapper, reducer and the code to run the application)
> into my home directory on hadoop cluster. Then when I run the following
> command:
>
> hadoop MaxTemperature input/ncdc/sample.txt output (here MaxTemperature is
> the java file which calls JobClient).
>
> I get the error that MaxTemperature.class is not found."
>
> Could you suggest something about that? Does the "hadoop" command take the
> ".class file" or the ".java file"?
>
> What command is used to start the map-reduce job?
>
> Thanks,
> Prateek.
>

Mime
View raw message