[[email protected] conf]$ hadoop jar /usr/lib/hadoop-mapreduce/ hadoop-mapreduce-examples.jar wordcount /user/lizeyi/people.txt /user/lizeyi/wordcount715 /06/08 18:36:16 info client. rmproxy: connecting to resourcemanager at master.hadoop/10.3.4.35:803215/06/08 18:36:17 info input. Fileinputformat: total input paths to process : 115/06/08 18:36:17 info lzo. Gplnativecodeloader: loaded native gpl library15/06/08 18:36:17 info lzo. lzocodec: successfully loaded & initialized native-lzo library [ hadoop-lzo rev 39cf0c71a251a79c50555810ca660450d9682140]15/06/08 18:36:17 info Mapreduce. Jobsubmitter: number of splits:115/06/08 18:36:18 info mapreduce. jobsubmitter: submitting tokens for job: job_1433756996622_000415/06/08 18:36:18 info impl. Yarnclientimpl: submitted application application_1433756996622_000415/06/08 18:36:18 info mapreduce. Job: the url to track the job: http://master.hadoop:8088/proxy/application_ 1433756996622_0004/15/06/08 18:36:18 info mapreduce. Job: running job: job_1433756996622_000415/06/08 18:36:40 info mapred. clientservicedelegate: application state is completed. finalapplicationstatus= Succeeded. redirecting to job history serverjava.io.ioexception: job status not available at Org.apache.hadoop.mapreduce.Job.updateStatus (job.java:322) at org.apache.hadoop.mapreduce.job.iscomplete (job.java:609) At org.apache. Hadoop.mapreduce.Job.monitorAndPrintJob (job.java:1354) at org.apache.hadoop.mapreduce.job.waitforcompletion (job.java:1316) at org.apache.hadoop.examples.wordcount.main (wordcount.java:87)    AT SUN.REFLECT.NATIVEMETHODACCESSORIMPL.INVOKE0 (Native method) at sun.reflect.nativemethodaccessorimpl.invoke ( nativemethodaccessorimpl.java:57) at Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43) at java.lang.reflect.method.invoke (method.java:606) at org.apache.hadoop.util.programdriver$programdescription.invoke (ProgramDriver.java:72 ) at org.apache.hadOop.util.ProgramDriver.run (programdriver.java:145) at Org.apache.hadoop.examples.ExampleDriver.main (exampledriver.java:74)  AT SUN.REFLECT.NATIVEMETHODACCESSORIMPL.INVOKE0 (Native method) at sun.reflect.nativemethodaccessorimpl.invoke (nativemethodaccessorimpl.java:57) at sun.reflect.delegatingmethodaccessorimpl.invoke ( delegatingmethodaccessorimpl.java:43) at Java.lang.reflect.Method.invoke (method.java:606) at Org.apache.hadoop.util.RunJar.main (runjar.java:212)
[[email protected] conf]$ hadoop jar /usr/lib/hadoop-mapreduce/ hadoop-mapreduce-examples.jar wordcount /user/lizeyi/people.txt /user/lizeyi/wordcount915 /06/08 18:54:04 info client. rmproxy: connecting to resourcemanager at master.hadoop/10.3.4.35:803215/06/08 18:54:06 info input. fileinputformat: total input paths to process : 115/06/08 18:54:06 info lzo. Gplnativecodeloader: loaded native gpl library15/06/08 18:54:06 info lzo. lzocodec: successfully loaded & initialized native-lzo library [ hadoop-lzo rev 39cf0c71a251a79c50555810ca660450d9682140]15/06/08 18:54:06 info Mapreduce. Jobsubmitter: number of splits:115/06/08 18:54:06 info mapreduce. jobsubmitter: submitting tokens for job: job_1433760669916_000115/06/08 18:54:07 info impl. yarnclientimpl: submitted application application_1433760669916_000115/06/08 18:54:07 info mapreduce. Job: the url to track the job: http://master.hadoop:8088/proxy/application_ 1433760669916_0001/15/06/08 18:54:07 info mapreduce. Job: running job: job_1433760669916_000115/06/08 18:54:34 info mapred. clientservicedelegate: application state is completed. finalapplicationstatus= succeeded. redirecting to job history server15/06/08 18:54:35 info Mapreduce. Job: job job_1433760669916_0001 running in uber mode : false15/06/08 18:54:35 info mapreduce. Job: map 100% reduce 100%15/06/08 18:54:35 info mapreduce. Job: job job_1433760669916_0001 completed succesSfully15/06/08 18:54:35 info mapreduce. Job: counters: 49 file system counters FILE: number of bytes read=68 FILE: Number of bytes written=205241 FILE: Number of read operations=0 file: number of large read operations=0 file: number of write operations=0 hdfs: number of bytes read=151 HDFS: Number of bytes written=46 hdfs: number of read operations=6 HDFS: Number of large read operations=0 HDFS: Number of write operations=2 job counters Launched map tasks=1 launched reduce tasks=1 data-local map tasks=1 total time spent by all maps in occupied slots (MS) =6036 total time spent by all reduces in occupied slots (MS) =6132 Total time spent by all map tasks (MS) =6036 Total time spent by all reduce tasks ( MS) =6132 total vcore-seconds taken by all map tasks=6036 total vcore-seconds taken by all reduce tasks=6132 Total megabyte-seconds taken by all map tasks=6180864 total megabyte-seconds taken by all reduce tasks=6279168 Map-Reduce Framework map input records=4 Map output records=4 map output bytes=54 Map output materialized bytes=68 Input split bytes=113 combine input records=4 Combine output records=4 Reduce input groups=4 Reduce shuffle bytes=68 Reduce input records=4 reduce output records=4 Spilled Records=8 Shuffled Maps =1 failed shuffles=0 Merged map outputs=1 GC time elapsed (MS) =82 CPU time spent (MS) =2150 Physical memory (bytes) snapshot= 447897600 virtual memory (bytes) snapshot=1986359296 Total committed heap usage (bytes) =355467264 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=38 File Output Format Counters bytes written=46
This article from the "Down-to-earth, look at the Stars" blog, please be sure to keep this source http://xubcing.blog.51cto.com/3502962/1659823
Hadoop exception Java.io.IOException:Job Status not available