Job正常执行,但无法在浏览器页面上查看到Job的信息
来源:4-6 -初识提交PI的MapReduce作业到YARN上执行
端碗吹水
2018-03-27
以下是执行Job时终端的输出信息,貌似是在本地执行了,没在集群上执行:
[root@localhost /usr/local/hadoop-2.6.0-cdh5.7.0/share/hadoop/mapreduce]# hadoop jar hadoop-mapreduce-examples-2.6.0-cdh5.7.0.jar pi 2 3 Number of Maps = 2 Samples per Map = 3 18/03/27 09:29:20 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Wrote input for Map #0 Wrote input for Map #1 Starting Job 18/03/27 09:29:21 INFO Configuration.deprecation: session.id is deprecated. Instead, use dfs.metrics.session-id 18/03/27 09:29:21 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId= 18/03/27 09:29:21 INFO input.FileInputFormat: Total input paths to process : 2 18/03/27 09:29:21 INFO mapreduce.JobSubmitter: number of splits:2 18/03/27 09:29:21 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_local1790394113_0001 18/03/27 09:29:21 INFO mapreduce.Job: The url to track the job: http://localhost:8080/ 18/03/27 09:29:21 INFO mapreduce.Job: Running job: job_local1790394113_0001 18/03/27 09:29:21 INFO mapred.LocalJobRunner: OutputCommitter set in config null 18/03/27 09:29:21 INFO output.FileOutputCommitter: File Output Committer Algorithm version is 1 18/03/27 09:29:21 INFO mapred.LocalJobRunner: OutputCommitter is org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter 18/03/27 09:29:21 INFO mapred.LocalJobRunner: Waiting for map tasks 18/03/27 09:29:21 INFO mapred.LocalJobRunner: Starting task: attempt_local1790394113_0001_m_000000_0 18/03/27 09:29:21 INFO output.FileOutputCommitter: File Output Committer Algorithm version is 1 18/03/27 09:29:21 INFO mapred.Task: Using ResourceCalculatorProcessTree : [ ] 18/03/27 09:29:21 INFO mapred.MapTask: Processing split: hdfs://192.168.77.130:8020/user/root/QuasiMonteCarlo_1522114160070_1105193144/in/part0:0+118 18/03/27 09:29:21 INFO mapred.MapTask: (EQUATOR) 0 kvi 26214396(104857584) 18/03/27 09:29:21 INFO mapred.MapTask: mapreduce.task.io.sort.mb: 100 18/03/27 09:29:21 INFO mapred.MapTask: soft limit at 83886080 18/03/27 09:29:21 INFO mapred.MapTask: bufstart = 0; bufvoid = 104857600 18/03/27 09:29:21 INFO mapred.MapTask: kvstart = 26214396; length = 6553600 18/03/27 09:29:21 INFO mapred.MapTask: Map output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBuffer 18/03/27 09:29:21 INFO mapred.LocalJobRunner: 18/03/27 09:29:21 INFO mapred.MapTask: Starting flush of map output 18/03/27 09:29:21 INFO mapred.MapTask: Spilling map output 18/03/27 09:29:21 INFO mapred.MapTask: bufstart = 0; bufend = 18; bufvoid = 104857600 18/03/27 09:29:21 INFO mapred.MapTask: kvstart = 26214396(104857584); kvend = 26214392(104857568); length = 5/6553600 18/03/27 09:29:21 INFO mapred.MapTask: Finished spill 0 18/03/27 09:29:21 INFO mapred.Task: Task:attempt_local1790394113_0001_m_000000_0 is done. And is in the process of committing 18/03/27 09:29:21 INFO mapred.LocalJobRunner: map 18/03/27 09:29:21 INFO mapred.Task: Task 'attempt_local1790394113_0001_m_000000_0' done. 18/03/27 09:29:21 INFO mapred.LocalJobRunner: Finishing task: attempt_local1790394113_0001_m_000000_0 18/03/27 09:29:21 INFO mapred.LocalJobRunner: Starting task: attempt_local1790394113_0001_m_000001_0 18/03/27 09:29:21 INFO output.FileOutputCommitter: File Output Committer Algorithm version is 1 18/03/27 09:29:21 INFO mapred.Task: Using ResourceCalculatorProcessTree : [ ] 18/03/27 09:29:21 INFO mapred.MapTask: Processing split: hdfs://192.168.77.130:8020/user/root/QuasiMonteCarlo_1522114160070_1105193144/in/part1:0+118 18/03/27 09:29:21 INFO mapred.MapTask: (EQUATOR) 0 kvi 26214396(104857584) 18/03/27 09:29:21 INFO mapred.MapTask: mapreduce.task.io.sort.mb: 100 18/03/27 09:29:21 INFO mapred.MapTask: soft limit at 83886080 18/03/27 09:29:21 INFO mapred.MapTask: bufstart = 0; bufvoid = 104857600 18/03/27 09:29:21 INFO mapred.MapTask: kvstart = 26214396; length = 6553600 18/03/27 09:29:21 INFO mapred.MapTask: Map output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBuffer 18/03/27 09:29:21 INFO mapred.LocalJobRunner: 18/03/27 09:29:21 INFO mapred.MapTask: Starting flush of map output 18/03/27 09:29:21 INFO mapred.MapTask: Spilling map output 18/03/27 09:29:21 INFO mapred.MapTask: bufstart = 0; bufend = 18; bufvoid = 104857600 18/03/27 09:29:21 INFO mapred.MapTask: kvstart = 26214396(104857584); kvend = 26214392(104857568); length = 5/6553600 18/03/27 09:29:21 INFO mapred.MapTask: Finished spill 0 18/03/27 09:29:21 INFO mapred.Task: Task:attempt_local1790394113_0001_m_000001_0 is done. And is in the process of committing 18/03/27 09:29:21 INFO mapred.LocalJobRunner: map 18/03/27 09:29:21 INFO mapred.Task: Task 'attempt_local1790394113_0001_m_000001_0' done. 18/03/27 09:29:21 INFO mapred.LocalJobRunner: Finishing task: attempt_local1790394113_0001_m_000001_0 18/03/27 09:29:21 INFO mapred.LocalJobRunner: map task executor complete. 18/03/27 09:29:21 INFO mapred.LocalJobRunner: Starting task: attempt_local1790394113_0001_r_000000_0 18/03/27 09:29:21 INFO mapred.LocalJobRunner: Waiting for reduce tasks 18/03/27 09:29:21 INFO output.FileOutputCommitter: File Output Committer Algorithm version is 1 18/03/27 09:29:21 INFO mapred.Task: Using ResourceCalculatorProcessTree : [ ] 18/03/27 09:29:21 INFO mapred.ReduceTask: Using ShuffleConsumerPlugin: org.apache.hadoop.mapreduce.task.reduce.Shuffle@47a61695 18/03/27 09:29:21 INFO reduce.MergeManagerImpl: MergerManager: memoryLimit=334338464, maxSingleShuffleLimit=83584616, mergeThreshold=220663392, ioSortFactor=10, memToMemMergeOutputsThreshold=10 18/03/27 09:29:21 INFO reduce.EventFetcher: attempt_local1790394113_0001_r_000000_0 Thread started: EventFetcher for fetching Map Completion Events 18/03/27 09:29:21 INFO reduce.LocalFetcher: localfetcher#1 about to shuffle output of map attempt_local1790394113_0001_m_000001_0 decomp: 24 len: 28 to MEMORY 18/03/27 09:29:21 INFO reduce.InMemoryMapOutput: Read 24 bytes from map-output for attempt_local1790394113_0001_m_000001_0 18/03/27 09:29:21 INFO reduce.MergeManagerImpl: closeInMemoryFile -> map-output of size: 24, inMemoryMapOutputs.size() -> 1, commitMemory -> 0, usedMemory ->24 18/03/27 09:29:21 INFO reduce.LocalFetcher: localfetcher#1 about to shuffle output of map attempt_local1790394113_0001_m_000000_0 decomp: 24 len: 28 to MEMORY 18/03/27 09:29:21 INFO reduce.InMemoryMapOutput: Read 24 bytes from map-output for attempt_local1790394113_0001_m_000000_0 18/03/27 09:29:21 INFO reduce.MergeManagerImpl: closeInMemoryFile -> map-output of size: 24, inMemoryMapOutputs.size() -> 2, commitMemory -> 24, usedMemory ->48 18/03/27 09:29:21 INFO reduce.EventFetcher: EventFetcher is interrupted.. Returning 18/03/27 09:29:21 INFO mapred.LocalJobRunner: 2 / 2 copied. 18/03/27 09:29:21 INFO reduce.MergeManagerImpl: finalMerge called with 2 in-memory map-outputs and 0 on-disk map-outputs 18/03/27 09:29:21 INFO mapred.Merger: Merging 2 sorted segments 18/03/27 09:29:21 INFO mapred.Merger: Down to the last merge-pass, with 2 segments left of total size: 42 bytes 18/03/27 09:29:21 INFO reduce.MergeManagerImpl: Merged 2 segments, 48 bytes to disk to satisfy reduce memory limit 18/03/27 09:29:21 INFO reduce.MergeManagerImpl: Merging 1 files, 50 bytes from disk 18/03/27 09:29:21 INFO reduce.MergeManagerImpl: Merging 0 segments, 0 bytes from memory into reduce 18/03/27 09:29:21 INFO mapred.Merger: Merging 1 sorted segments 18/03/27 09:29:21 INFO mapred.Merger: Down to the last merge-pass, with 1 segments left of total size: 43 bytes 18/03/27 09:29:21 INFO mapred.LocalJobRunner: 2 / 2 copied. 18/03/27 09:29:21 INFO Configuration.deprecation: mapred.skip.on is deprecated. Instead, use mapreduce.job.skiprecords 18/03/27 09:29:21 INFO mapred.Task: Task:attempt_local1790394113_0001_r_000000_0 is done. And is in the process of committing 18/03/27 09:29:21 INFO mapred.LocalJobRunner: 2 / 2 copied. 18/03/27 09:29:21 INFO mapred.Task: Task attempt_local1790394113_0001_r_000000_0 is allowed to commit now 18/03/27 09:29:21 INFO output.FileOutputCommitter: Saved output of task 'attempt_local1790394113_0001_r_000000_0' to hdfs://192.168.77.130:8020/user/root/QuasiMonteCarlo_1522114160070_1105193144/out/_temporary/0/task_local1790394113_0001_r_000000 18/03/27 09:29:21 INFO mapred.LocalJobRunner: reduce > reduce 18/03/27 09:29:21 INFO mapred.Task: Task 'attempt_local1790394113_0001_r_000000_0' done. 18/03/27 09:29:21 INFO mapred.LocalJobRunner: Finishing task: attempt_local1790394113_0001_r_000000_0 18/03/27 09:29:21 INFO mapred.LocalJobRunner: reduce task executor complete. 18/03/27 09:29:22 INFO mapreduce.Job: Job job_local1790394113_0001 running in uber mode : false 18/03/27 09:29:22 INFO mapreduce.Job: map 100% reduce 100% 18/03/27 09:29:22 INFO mapreduce.Job: Job job_local1790394113_0001 completed successfully 18/03/27 09:29:22 INFO mapreduce.Job: Counters: 35 File System Counters FILE: Number of bytes read=830528 FILE: Number of bytes written=1617908 FILE: Number of read operations=0 FILE: Number of large read operations=0 FILE: Number of write operations=0 HDFS: Number of bytes read=590 HDFS: Number of bytes written=923 HDFS: Number of read operations=30 HDFS: Number of large read operations=0 HDFS: Number of write operations=15 Map-Reduce Framework Map input records=2 Map output records=4 Map output bytes=36 Map output materialized bytes=56 Input split bytes=302 Combine input records=0 Combine output records=0 Reduce input groups=2 Reduce shuffle bytes=56 Reduce input records=4 Reduce output records=0 Spilled Records=8 Shuffled Maps =2 Failed Shuffles=0 Merged Map outputs=2 GC time elapsed (ms)=0 Total committed heap usage (bytes)=1119879168 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=236 File Output Format Counters Bytes Written=97 Job Finished in 1.526 seconds Estimated value of Pi is 4.00000000000000000000 [root@localhost /usr/local/hadoop-2.6.0-cdh5.7.0/share/hadoop/mapreduce]#
web页面上没看到执行信息:
finish页也没有:
进程如下:
[root@localhost ~]# jps 3040 NameNode 3176 DataNode 3531 ResourceManager 3643 NodeManager 5307 Jps 3358 SecondaryNameNode
写回答
1回答
-
Michael_PK
2018-03-27
跑完的你要去成功的列表中看
042018-03-27
相似问题