Running a MapReduce job using CLI

Run the Hadoop PiEstimator example job on your cluster to verify that your Cloudera Runtime installation completed successfully.

  1. Log into a host in the cluster.
  2. Run the Hadoop PiEstimator example using the following command:
    yarn jar /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 10 100
    
  3. In Cloudera Manager, navigate to Cluster > ClusterName > yarn Applications.
  4. Check the results of the job.
    You will see an entry like the following: