Jul 9

一个hadoop wordcount 运行的日志 不指定

admin , 11:03 , Hadoop , 评论(0) , 引用(0) , 阅读(489) , Via 本站原创 | |
搜索
我已经获得阿里云幸运券,准备分享给您。请点击获取   一个hadoop wordcount 运行的日志

hadoop@itlife365 ~]$hadoop jar wcountljs.jar com.itlife365.bigdata.hadoop.mr.wordcount.WordCountRunner /user/hadoop/input/
17/06/19 21:31:12 INFO Configuration.deprecation: session.id is deprecated. Instead, use dfs.metrics.session-id
17/06/19 21:31:13 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=
17/06/19 21:31:17 WARN mapreduce.JobSubmitter: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
17/06/19 21:31:23 INFO input.FileInputFormat: Total input paths to process : 1
17/06/19 21:31:24 INFO mapreduce.JobSubmitter: number of splits:1
17/06/19 21:31:33 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_local1336611296_0001
17/06/19 21:31:39 INFO mapreduce.Job: The url to track the job: http://localhost:8080/
17/06/19 21:31:39 INFO mapreduce.Job: Running job: job_local1336611296_0001
17/06/19 21:31:39 INFO mapred.LocalJobRunner: OutputCommitter set in config null
17/06/19 21:31:40 INFO mapreduce.Job: Job job_local1336611296_0001 running in uber mode : false
17/06/19 21:31:40 INFO mapreduce.Job:  map 0% reduce 0%
17/06/19 21:31:41 INFO mapred.LocalJobRunner: OutputCommitter is org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter
17/06/19 21:31:45 INFO mapred.LocalJobRunner: Waiting for map tasks
17/06/19 21:31:45 INFO mapred.LocalJobRunner: Starting task: attempt_local1336611296_0001_m_000000_0
17/06/19 21:31:49 INFO mapred.Task:  Using ResourceCalculatorProcessTree : [ ]
17/06/19 21:31:49 INFO mapred.MapTask: Processing split: hdfs://itlife365:9000/user/hadoop/input/wordcountdemo.txt:0+155
17/06/19 21:32:21 INFO mapred.MapTask: (EQUATOR) 0 kvi 26214396(104857584)
17/06/19 21:32:21 INFO mapred.MapTask: mapreduce.task.io.sort.mb: 100
17/06/19 21:32:21 INFO mapred.MapTask: soft limit at 83886080
17/06/19 21:32:21 INFO mapred.MapTask: bufstart = 0; bufvoid = 104857600
17/06/19 21:32:21 INFO mapred.MapTask: kvstart = 26214396; length = 6553600
17/06/19 21:32:21 INFO mapred.MapTask: Map output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBuffer
17/06/19 21:32:32 INFO mapred.LocalJobRunner:
17/06/19 21:32:32 INFO mapred.MapTask: Starting flush of map output
17/06/19 21:32:32 INFO mapred.MapTask: Spilling map output
17/06/19 21:32:32 INFO mapred.MapTask: bufstart = 0; bufend = 402; bufvoid = 104857600
17/06/19 21:32:32 INFO mapred.MapTask: kvstart = 26214396(104857584); kvend = 26214276(104857104); length = 121/6553600
17/06/19 21:32:34 INFO mapred.MapTask: Finished spill 0
17/06/19 21:32:35 INFO mapred.Task: Task:attempt_local1336611296_0001_m_000000_0 is done. And is in the process of committing
17/06/19 21:32:37 INFO mapred.LocalJobRunner: map
17/06/19 21:32:37 INFO mapred.LocalJobRunner: map
17/06/19 21:32:37 INFO mapred.Task: Task 'attempt_local1336611296_0001_m_000000_0' done.
17/06/19 21:32:37 INFO mapred.LocalJobRunner: Finishing task: attempt_local1336611296_0001_m_000000_0
17/06/19 21:32:37 INFO mapred.LocalJobRunner: map task executor complete.
17/06/19 21:32:37 INFO mapreduce.Job:  map 100% reduce 0%
17/06/19 21:32:38 INFO mapred.LocalJobRunner: Waiting for reduce tasks
17/06/19 21:32:38 INFO mapred.LocalJobRunner: Starting task: attempt_local1336611296_0001_r_000000_0
17/06/19 21:32:39 INFO mapred.Task:  Using ResourceCalculatorProcessTree : [ ]
17/06/19 21:32:39 INFO mapred.ReduceTask: Using ShuffleConsumerPlugin: org.apache.hadoop.mapreduce.task.reduce.Shuffle@39882
17/06/19 21:32:42 INFO reduce.MergeManagerImpl: MergerManager: memoryLimit=363285696, maxSingleShuffleLimit=90821424, mergeThreshold=239768576, ioSortFactor=10, memToMemMergeOutputsThreshold=10
17/06/19 21:32:43 INFO reduce.EventFetcher: attempt_local1336611296_0001_r_000000_0 Thread started: EventFetcher for fetching Map Completion Events
17/06/19 21:32:47 INFO reduce.LocalFetcher: localfetcher#1 about to shuffle output of map attempt_local1336611296_0001_m_000000_0 decomp: 466 len: 470 to MEMORY
17/06/19 21:32:48 INFO reduce.InMemoryMapOutput: Read 466 bytes from map-output for attempt_local1336611296_0001_m_000000_0
17/06/19 21:32:48 INFO reduce.MergeManagerImpl: closeInMemoryFile -> map-output of size: 466, inMemoryMapOutputs.size() -> 1, commitMemory -> 0, usedMemory ->466
17/06/19 21:32:48 INFO reduce.EventFetcher: EventFetcher is interrupted.. Returning
17/06/19 21:32:49 INFO mapred.LocalJobRunner: 1 / 1 copied.
17/06/19 21:32:49 INFO reduce.MergeManagerImpl: finalMerge called with 1 in-memory map-outputs and 0 on-disk map-outputs
17/06/19 21:32:50 INFO mapred.Merger: Merging 1 sorted segments
17/06/19 21:32:50 INFO mapred.Merger: Down to the last merge-pass, with 1 segments left of total size: 463 bytes
17/06/19 21:32:50 INFO reduce.MergeManagerImpl: Merged 1 segments, 466 bytes to disk to satisfy reduce memory limit
17/06/19 21:32:50 INFO reduce.MergeManagerImpl: Merging 1 files, 470 bytes from disk
17/06/19 21:32:50 INFO reduce.MergeManagerImpl: Merging 0 segments, 0 bytes from memory into reduce
17/06/19 21:32:50 INFO mapred.Merger: Merging 1 sorted segments
17/06/19 21:32:50 INFO mapred.Merger: Down to the last merge-pass, with 1 segments left of total size: 463 bytes
17/06/19 21:32:50 INFO mapred.LocalJobRunner: 1 / 1 copied.
17/06/19 21:32:53 INFO mapred.LocalJobRunner: reduce > reduce
17/06/19 21:32:53 INFO mapreduce.Job:  map 100% reduce 67%
17/06/19 21:32:56 INFO Configuration.deprecation: mapred.skip.on is deprecated. Instead, use mapreduce.job.skiprecords
17/06/19 21:32:56 INFO mapred.LocalJobRunner: reduce > reduce
17/06/19 21:33:02 INFO mapred.LocalJobRunner: reduce > reduce
17/06/19 21:33:02 INFO mapreduce.Job:  map 100% reduce 100%
17/06/19 21:33:06 INFO mapred.Task: Task:attempt_local1336611296_0001_r_000000_0 is done. And is in the process of committing
17/06/19 21:33:07 INFO mapred.LocalJobRunner: reduce > reduce
17/06/19 21:33:07 INFO mapred.Task: Task attempt_local1336611296_0001_r_000000_0 is allowed to commit now
17/06/19 21:33:08 INFO output.FileOutputCommitter: Saved output of task 'attempt_local1336611296_0001_r_000000_0' to hdfs://itlife365:9000/user/hadoop/output/_temporary/0/task_local1336611296_0001_r_000000
17/06/19 21:33:08 INFO mapred.LocalJobRunner: reduce > reduce
17/06/19 21:33:08 INFO mapred.Task: Task 'attempt_local1336611296_0001_r_000000_0' done.
17/06/19 21:33:08 INFO mapred.LocalJobRunner: Finishing task: attempt_local1336611296_0001_r_000000_0
17/06/19 21:33:08 INFO mapred.LocalJobRunner: reduce task executor complete.
17/06/19 21:33:11 INFO mapreduce.Job: Job job_local1336611296_0001 completed successfully
17/06/19 21:33:12 INFO mapreduce.Job: Counters: 38
        File System Counters
                FILE: Number of bytes read=17844
                FILE: Number of bytes written=527618
                FILE: Number of read operations=0
                FILE: Number of large read operations=0
                FILE: Number of write operations=0
                HDFS: Number of bytes read=310
                HDFS: Number of bytes written=186
                HDFS: Number of read operations=17
                HDFS: Number of large read operations=0
                HDFS: Number of write operations=4
        Map-Reduce Framework
                Map input records=4
                Map output records=31
                Map output bytes=402
                Map output materialized bytes=470
                Input split bytes=122
                Combine input records=0
                Combine output records=0
                Reduce input groups=24
                Reduce shuffle bytes=470
                Reduce input records=31
                Reduce output records=24
                Spilled Records=62
                Shuffled Maps =1
                Failed Shuffles=0
                Merged Map outputs=1
                GC time elapsed (ms)=1577
                CPU time spent (ms)=0
                Physical memory (bytes) snapshot=0
                Virtual memory (bytes) snapshot=0
                Total committed heap usage (bytes)=242360320
        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=155
        File Output Format Counters
                Bytes Written=186
[hadoop@itlife365 ~]$

[hadoop@itlife365 ~]$ hadoop fs -cat /user/hadoop/input/*.txt
hello everyoen:
 this is a test of hadoop wordcount simple,Please feel easy!
 and is a demo will more beautiful in future.
 and is a good begin .. thinks
[hadoop@itlife365 ~]$

[hadoop@itlife365 ~]$ hadoop fs -cat /user/hadoop/output/part-r-00000
        3
..      1
a       3
and     2
beautiful       1
begin   1
demo    1
easy!   1
everyoen:       1
feel    1
future. 1
good    1
hadoop  1
hello   1
in      1
is      3
more    1
of      1
simple,Please   1
test    1
thinks  1
this    1
will    1
wordcount       1
[hadoop@itlife365 ~]$
Tags: ,