Cannot select class name while exporting the JAR for WordCount example


2 Answer(s)


Mansur i think while running the map reduce in the terminal

hadoop jar assig2.jar com.hari.assignment2.Assignment2 /volume.csv /hari/assig3Output.txt

com.hari.assignment2.Assignment2 this signifies the class which the map reduce resides and it will look into the main method in this class.

because it didn't ask the main class for me too , but i was able to run the map reduce without any errors.

Please correct me if i am wrong.

hi Mansur,

All Eclipse installations have the "export" option. (File -> Export ->Export Jar)

Thanks