1.运行MapReduce
hadoop jar /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar wordcount input/test1.txt /mrout
2 . 测试 spark
spark-submit --master local --class org.apache.spark.examples.SparkPi /opt/cloudera/parcels/CDH-5.14.4-1.cdh5.14.4.p0.3/lib/spark/lib/spark-examples.jar 4