You can either install java and eclipse in your system and then use the jar in webconsole and execute it or you can use the VM for which I have attached the document below.
Please follow these steps to run a mapreduce code in webconsole as shown below.
Step 1:
Import all these hadoop libraries in your eclipse.
https://drive.google.com/open?id=1oqVVeEqSCFYdlKj9Zgluanjb7Gpn0SVb
Step 2:
Write your map reduce code in your eclipse and export a jar file .
Step 3:
Now using your ftp option copy these files to your My Lab server.
- wc.jar(the jar that you created)
- wordcountproblem dataset
Step 3:
Open webconsole and fire ls command in it and find these files.
Step 4:
Copy that wordcountproblem file to hdfs with this command.
hadoop dfs -copyFromLocal wordcountproblem /user/edureka_334301
Step 5:
Now use the command shown below for execution of map reduce code.
Step 6:
And check the results using the command as shown below.