3.hadoop完全分布式搭建
# hadoop jar /soft/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.3.jar wordcount /input/ /output 17/05/14 23:01:07 INFO client.RMProxy: Connecting to ResourceManager at hadoop-1/10.31.133.19:803217/05/14 23:01:09 INFO input.FileInputFormat: Total input paths to process : 7
17/05/14 23:01:10 INFO mapreduce.JobSubmitter: number of splits:7
17/05/14 23:01:10 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1494773207391_0001
17/05/14 23:01:10 INFO impl.YarnClientImpl: Submitted application application_1494773207391_0001
17/05/14 23:01:11 INFO mapreduce.Job: The url to track the job: http://hadoop-1:8088/proxy/application_1494773207391_0001/
17/05/14 23:01:11 INFO mapreduce.Job: Running job: job_1494773207391_0001
17/05/14 23:01:23 INFO mapreduce.Job: Job job_1494773207391_0001 running in uber mode : false
17/05/14 23:01:23 INFO mapreduce.Job:map 0% reduce 0%
17/05/14 23:01:56 INFO mapreduce.Job:map 43% reduce 0%
17/05/14 23:01:57 INFO mapreduce.Job:map 100% reduce 0%
17/05/14 23:02:04 INFO mapreduce.Job:map 100% reduce 100%
17/05/14 23:02:05 INFO mapreduce.Job: Job job_1494773207391_0001 completed successfully
17/05/14 23:02:05 INFO mapreduce.Job: Counters: 50
File System Counters
FILE: Number of bytes read=184
FILE: Number of bytes written=949365
FILE: Number of read operations=0
FILE: Number of large read operations=0
FILE: Number of write operations=0
HDFS: Number of bytes read=801
HDFS: Number of bytes written=37
HDFS: Number of read operations=24
HDFS: Number of large read operations=0
HDFS: Number of write operations=2
Job Counters
Killed map tasks=1
Launched map tasks=7
Launched reduce tasks=1
Data-local map tasks=7
Total time spent by all maps in occupied slots (ms)=216289
Total time spent by all reduces in occupied slots (ms)=4827
Total time spent by all map tasks (ms)=216289
Total time spent by all reduce tasks (ms)=4827
Total vcore-milliseconds taken by all map tasks=216289
Total vcore-milliseconds taken by all reduce tasks=4827
Total megabyte-milliseconds taken by all map tasks=221479936
Total megabyte-milliseconds taken by all reduce tasks=4942848
Map-Reduce Framework
Map input records=7
Map output records=14
Map output bytes=150
Map output materialized bytes=220
Input split bytes=707
Combine input records=14
Combine output records=14
Reduce input groups=4
Reduce shuffle bytes=220
Reduce input records=14
Reduce output records=4
Spilled Records=28
Shuffled Maps =7
Failed Shuffles=0
Merged Map outputs=7
GC time elapsed (ms)=3616
CPU time spent (ms)=3970
Physical memory (bytes) snapshot=1528823808
Virtual memory (bytes) snapshot=16635846656
Total committed heap usage (bytes)=977825792
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=94
File Output Format Counters
Bytes Written=37
页:
[1]