创建目录
hdfs dfs -mkdir -p /dsdc/input
运行jar
hadoop jar /mnt/MacNum.jar com.dsdc.JobRun
查看结果
hadoop dfs -cat /dsdc/output/part-r-00000
hdfs dfs -mkdir -p /dsdc/input
hadoop jar /mnt/MacNum.jar com.dsdc.JobRun
hadoop dfs -cat /dsdc/output/part-r-00000
评论 (0)