[bigdata@hadoop001 hadoop]$ hadoop jar\ ./share/hadoop/mapreduce2/hadoop-mapreduce-examples-2.6.0-cdh5.16.2.jar \ wordcount input output2 20/11/28 13:27:54 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 20/11/28 13:27:54 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032 20/11/28 13:27:55 INFO input.FileInputFormat: Total input paths to process : 2 20/11/28 13:27:55 INFO mapreduce.JobSubmitter: number of splits:2 ####splits数量 20/11/28 13:27:56 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1606541061047_0001 20/11/28 13:27:56 INFO impl.YarnClientImpl: Submitted application application_1606541061047_0001 20/11/28 13:27:56 INFO mapreduce.Job: The url to track the job: http://hadoop001:7776/proxy/application_1606541061047_0001/ 20/11/28 13:27:56 INFO mapreduce.Job: Running job: job_1606541061047_0001 20/11/28 13:28:02 INFO mapreduce.Job: Job job_1606541061047_0001 running in uber mode : false 20/11/28 13:28:02 INFO mapreduce.Job: map 0% reduce 0% 20/11/28 13:28:08 INFO mapreduce.Job: map 50% reduce 0% 20/11/28 13:28:09 INFO mapreduce.Job: map 100% reduce 0% 20/11/28 13:28:12 INFO mapreduce.Job: map 100% reduce 100% 20/11/28 13:28:13 INFO mapreduce.Job: Job job_1606541061047_0001 completed successfully 20/11/28 13:28:13 INFO mapreduce.Job: Counters: 49 File System Counters FILE: Number of bytes read=138 FILE: Number of bytes written=429308 FILE: Number of read operations=0 FILE: Number of large read operations=0 FILE: Number of write operations=0 HDFS: Number of bytes read=336 HDFS: Number of bytes written=88 HDFS: Number of read operations=9 HDFS: Number of large read operations=0 HDFS: Number of write operations=2 Job Counters Launched map tasks=2 Launched reduce tasks=1 Data-local map tasks=2 Total time spent by all maps in occupied slots (ms)=5087 Total time spent by all reduces in occupied slots (ms)=2057 Total time spent by all map tasks (ms)=5087 Total time spent by all reduce tasks (ms)=2057 Total vcore-milliseconds taken by all map tasks=5087 Total vcore-milliseconds taken by all reduce tasks=2057 Total megabyte-milliseconds taken by all map tasks=5209088 Total megabyte-milliseconds taken by all reduce tasks=2106368 Map-Reduce Framework Map input records=15 Map output records=18 Map output bytes=184 Map output materialized bytes=144 Input split bytes=222 Combine input records=18 Combine output records=11 Reduce input groups=11 Reduce shuffle bytes=144 Reduce input records=11 Reduce output records=11 Spilled Records=22 Shuffled Maps =2 Failed Shuffles=0 Merged Map outputs=2 GC time elapsed (ms)=179 CPU time spent (ms)=1230 Physical memory (bytes) snapshot=774582272 Virtual memory (bytes) snapshot=8328560640 Total committed heap usage (bytes)=759169024 Shuffle Errors BAD_ID=0 CONNECTION=0 IO_ERROR=0 WRONG_LENGTH=0 WRONG_MAP=0 WRONG_REDUCE=0 File Input Format Counters Bytes Read=114 File Output Format Counters Bytes Written=88