org.apache.hadoop.hive.io
Interface HiveIOExceptionHandler


public interface HiveIOExceptionHandler

HiveIOExceptionHandler defines an interface that all io exception handler in Hive should implement. Different IO exception handlers can implement different logics based on the exception input into it.


Method Summary
 org.apache.hadoop.mapred.RecordReader<?,?> handleRecordReaderCreationException(Exception e)
          process exceptions raised when creating a record reader.
 void handleRecorReaderNextException(Exception e, HiveIOExceptionNextHandleResult result)
          process exceptions thrown when calling rr's next
 

Method Detail

handleRecordReaderCreationException

org.apache.hadoop.mapred.RecordReader<?,?> handleRecordReaderCreationException(Exception e)
                                                                               throws IOException
process exceptions raised when creating a record reader.

Parameters:
e -
Returns:
RecordReader
Throws:
IOException

handleRecorReaderNextException

void handleRecorReaderNextException(Exception e,
                                    HiveIOExceptionNextHandleResult result)
                                    throws IOException
process exceptions thrown when calling rr's next

Parameters:
e -
result -
Throws:
IOException


Copyright © 2013 The Apache Software Foundation