Using an account that can execute Hadoop jobs, use the hadoop command to execute MapReduce programs (Java programs). Use either the jar or job option.
Example
Command execution example:
$ hadoop jar sample.jar input output <Enter>
The above example uses the jar option to execute sample.jar containing a MapReduce program.