samples-1.0.jar


2 Answer(s)


hi Kapil,

The sample-1.0.jar is not available for download, what you can do is open the eclipse -> New Project -> New java class. Give the name of the class in the window (lets say if you are creating for WordCount, you can give the name as WordCount) and past the wordcount java code in eclipse.

Once that is done add the required classes to the "Build Path" (which can be accessed by selecting project -> properties-> Build path-> Add external jars) and add jars from /usr/lib/hadoop/ usr/lib/client.

Once the paths are added, create a jar file by selecting File->Export-> select jar file and specify a name.

This newly created jar can be used to execute on the command line with "hadoop" command.

Thanks

Thanks much,
Kapil