Cannot select class name while exporting the JAR for WordCount example
2 Answer(s)
Hariharan
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.
Jan 19 2015 06:09 AM
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.
DeZyre Support
hi Mansur,
All Eclipse installations have the "export" option. (File -> Export ->Export Jar)
Thanks
Jan 21 2015 01:18 PM
All Eclipse installations have the "export" option. (File -> Export ->Export Jar)
Thanks