avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navdeep Poonia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-2015) Ability to skip or repair out of sync blocks with HIVE at runtime
Date Mon, 03 Apr 2017 05:11:41 GMT
Navdeep Poonia created AVRO-2015:

             Summary: Ability to skip or repair out of sync blocks with HIVE at runtime
                 Key: AVRO-2015
                 URL: https://issues.apache.org/jira/browse/AVRO-2015
             Project: Avro
          Issue Type: New Feature
            Reporter: Navdeep Poonia
            Priority: Minor

When a file is corrupted it raises the error java.io.IOException: Invalid sync! with hive.

Can we have some functionality to skip or repair such blocks at runtime to make avro more
error resilient in case of data corruption.

Error: java.io.IOException: java.io.IOException: java.io.IOException: While processing file
java.io.IOException: Invalid sync!
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.shims.HadoopShimsSecure$CombineFileRecordReader.doNextWithExceptionHandler(HadoopShimsSecure.java:334)

This message was sent by Atlassian JIRA

View raw message