计算命令:
HADOOP_HOME/bin/hadoop jar HADOOP_HOME/share/hadoop/tools/lib/hadoop-streaming-2.7.2.jar -files "mapscript,reducescript" -input HDFS_FILE_PATH -output HDFS_FILE_PATH -mapper "python mapscript" reducer "pythonreducescript "
计算命令:
HADOOP_HOME/bin/hadoop jar HADOOP_HOME/share/hadoop/tools/lib/hadoop-streaming-2.7.2.jar -files "mapscript,reducescript" -input HDFS_FILE_PATH -output HDFS_FILE_PATH -mapper "python mapscript" reducer "pythonreducescript "