public class HiveIOExceptionHandlerChain
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HIVE_IO_EXCEPTION_HANDLE_CHAIN |
Constructor and Description |
---|
HiveIOExceptionHandlerChain() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<HiveIOExceptionHandler> |
getHandlerChain() |
static HiveIOExceptionHandlerChain |
getHiveIOExceptionHandlerChain(JobConf conf) |
<any> |
handleRecordReaderCreationException(java.lang.Exception e) |
boolean |
handleRecordReaderNextException(java.lang.Exception e)
This is to handle exception when doing next operations.
|
protected void |
setHandlerChain(java.util.List<HiveIOExceptionHandler> handlerChain)
set the exception handler chain
|
public static java.lang.String HIVE_IO_EXCEPTION_HANDLE_CHAIN
public static HiveIOExceptionHandlerChain getHiveIOExceptionHandlerChain(JobConf conf)
protected java.util.List<HiveIOExceptionHandler> getHandlerChain()
protected void setHandlerChain(java.util.List<HiveIOExceptionHandler> handlerChain)
handlerChain
- public <any> handleRecordReaderCreationException(java.lang.Exception e) throws java.io.IOException
java.io.IOException
public boolean handleRecordReaderNextException(java.lang.Exception e) throws java.io.IOException
java.io.IOException
Copyright © 2012 The Apache Software Foundation