Hadoop distcp error caused by:java.io.IOException:Got EOF but currentpos = xxx < Filelength = xxx

Source: Internet
Author: User

We used distcp on the CDH4 version of Hadoop to copy the data from the CDH5 version of Hadoop to Cdh4, which commands the following

Hadoop Distcp-update-skipcrccheck hftp://cdh5:50070/xxxx hdfs://cdh4/xxx

When the file is very general there is such an error,

2017-12-15 10:47:24,506 info  execute. bulkloadhbase-caused By:java.io.IOException:Got EOF But currentpos = 2278825984 < Filelength = 3486427523 2017-12-1 5 10:47:24,506 info  Execute. Bulkloadhbase-   at org.apache.hadoop.hdfs.ByteRangeInputStream.update (byterangeinputstream.java:172)
2017-12-15 10:47:24,506 info  execute. Bulkloadhbase-   at org.apache.hadoop.hdfs.ByteRangeInputStream.read (byterangeinputstream.java:187)
2017-12-15 10:47:24,506 info  execute. Bulkloadhbase-   at java.io.DataInputStream.read (datainputstream.java:149)
2017-12-15 10:47:24,506 info  Execute. Bulkloadhbase-   at java.io.BufferedInputStream.read1 (bufferedinputstream.java:273)
2017-12-15 10:47:24,506 info  Execute. Bulkloadhbase-   at java.io.BufferedInputStream.read (bufferedinputstream.java:334)

2017-12-15 10:47:24,506 INFO Execute. Bulkloadhbase-at Java.io.FilterInputStream.read (filterinputstream.java:107)

The information can be solved by using the Webhdfs method, and the command is as follows

Hadoop Distcp-update-skipcrccheck webhdfs://cdh5:50070/xxxx hdfs://cdh4/xxx


Related Article

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.