yarn jar hadoop-examples-2.6.0-mr1-cdh5.10.0.jar pi 1 30

 

hadoop-examples-2.6.0-mr1-cdh5.10.0.jar 此JAR位于CHD 的share目录中

 

比找xml方便些