public class HiveIOExceptionHandlerUtil extends Object
Constructor and Description |
---|
HiveIOExceptionHandlerUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.mapred.RecordReader |
handleRecordReaderCreationException(Exception e,
org.apache.hadoop.mapred.JobConf job)
Handle exception thrown when creating record reader.
|
static boolean |
handleRecordReaderNextException(Exception e,
org.apache.hadoop.mapred.JobConf job)
Handle exception thrown when calling record reader's next.
|
public static org.apache.hadoop.mapred.RecordReader handleRecordReaderCreationException(Exception e, org.apache.hadoop.mapred.JobConf job) throws IOException
e
- job
- IOException
public static boolean handleRecordReaderNextException(Exception e, org.apache.hadoop.mapred.JobConf job) throws IOException
e
- job
- IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.