How do i create a JAR file that I can submit to HDFS?


4 Answer(s)


hi Sree,

Download the code from LMS, extract and go to directory where pom.xml is listed. on the terminal (within the VM) execute "mvn clean package" or "mvn package".

Thanks I will try this out.

Also you can try:

Select the project in Eclipse and go File tab. Now select 'Export' option from drop down list and then click Java from pop up dialogue. In the dialogue box you can find "JAR file" option.

Thanks Lakshman