java.io.IOException:java.io.EOFException:Unexpected end of input stream error

Source: Internet
Author: User

Error phenomenon:

Diagnostic Messages for this Task:
Error:java.io.IOException:java.io.EOFException:Unexpected end of input stream
At Org.apache.hadoop.hive.io.HiveIOExceptionHandlerChain.handleRecordReaderNextException ( hiveioexceptionhandlerchain.java:121)
At Org.apache.hadoop.hive.io.HiveIOExceptionHandlerUtil.handleRecordReaderNextException ( hiveioexceptionhandlerutil.java:77)
At Org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader.doNext (hivecontextawarerecordreader.java:344)
At Org.apache.hadoop.hive.ql.io.HiveRecordReader.doNext (hiverecordreader.java:79)
At Org.apache.hadoop.hive.ql.io.HiveRecordReader.doNext (hiverecordreader.java:33)
At Org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader.next (hivecontextawarerecordreader.java:122)
At Org.apache.hadoop.mapred.maptask$trackedrecordreader.movetonext (maptask.java:199)
At Org.apache.hadoop.mapred.maptask$trackedrecordreader.next (maptask.java:185)
At Org.apache.hadoop.mapred.MapRunner.run (maprunner.java:52)
At Org.apache.hadoop.mapred.MapTask.runOldMapper (maptask.java:450)
At Org.apache.hadoop.mapred.MapTask.run (maptask.java:343)
At Org.apache.hadoop.mapred.yarnchild$2.run (yarnchild.java:168)
At java.security.AccessController.doPrivileged (Native Method)
At Javax.security.auth.Subject.doAs (subject.java:415)
At Org.apache.hadoop.security.UserGroupInformation.doAs (usergroupinformation.java:1642)
At Org.apache.hadoop.mapred.YarnChild.main (yarnchild.java:163)
caused by:java.io.EOFException:Unexpected end of input stream
At Org.apache.hadoop.io.compress.DecompressorStream.decompress (decompressorstream.java:145)
At Org.apache.hadoop.io.compress.DecompressorStream.read (decompressorstream.java:85)
At Java.io.InputStream.read (inputstream.java:101)
At Org.apache.hadoop.util.LineReader.fillBuffer (linereader.java:180)
At Org.apache.hadoop.util.LineReader.readDefaultLine (linereader.java:216)
At Org.apache.hadoop.util.LineReader.readLine (linereader.java:174)
At Org.apache.hadoop.mapred.LineRecordReader.skipUtfByteOrderMark (linerecordreader.java:206)
At Org.apache.hadoop.mapred.LineRecordReader.next (linerecordreader.java:244)
At Org.apache.hadoop.mapred.LineRecordReader.next (linerecordreader.java:47)
At Org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader.doNext (hivecontextawarerecordreader.java:339)
... More

Container killed by the Applicationmaster.
Container killed on request. Exit Code is 143
Container exited with a Non-zero exit code 143


Failed:execution Error, return code 2 from Org.apache.hadoop.hive.ql.exec.mr.MapRedTask

Reason:

HDFs file exception caused;

Solve:

Locate failed attempt, find the file to handle the error;

Use Zcat to test for errors:

Delete the error file to solve the problem;

ref:http://caiguangguang.blog.51cto.com/1652935/1436077/

java.io.IOException:java.io.EOFException:Unexpected end of input stream error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.