public class HiveIOExceptionHandlerChain extends Object
Modifier and Type | Field and Description |
---|---|
static String |
HIVE_IO_EXCEPTION_HANDLE_CHAIN |
Constructor and Description |
---|
HiveIOExceptionHandlerChain() |
Modifier and Type | Method and Description |
---|---|
protected List<HiveIOExceptionHandler> |
getHandlerChain() |
static HiveIOExceptionHandlerChain |
getHiveIOExceptionHandlerChain(org.apache.hadoop.mapred.JobConf conf) |
org.apache.hadoop.mapred.RecordReader<?,?> |
handleRecordReaderCreationException(Exception e) |
boolean |
handleRecordReaderNextException(Exception e)
This is to handle exception when doing next operations.
|
protected void |
setHandlerChain(List<HiveIOExceptionHandler> handlerChain)
set the exception handler chain
|
public static final String HIVE_IO_EXCEPTION_HANDLE_CHAIN
public static HiveIOExceptionHandlerChain getHiveIOExceptionHandlerChain(org.apache.hadoop.mapred.JobConf conf)
protected List<HiveIOExceptionHandler> getHandlerChain()
protected void setHandlerChain(List<HiveIOExceptionHandler> handlerChain)
handlerChain
- public org.apache.hadoop.mapred.RecordReader<?,?> handleRecordReaderCreationException(Exception e) throws IOException
IOException
public boolean handleRecordReaderNextException(Exception e) throws IOException
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.