public class HadoopCommonUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JOB_CLS_NAME
Job class name.
|
static String |
JOB_COUNTER_WRITER_PROPERTY
Property to set custom writer of job statistics.
|
static String |
JOB_SUBMISSION_START_TS_PROPERTY
Property to store timestamp of job submission.
|
static String |
REQ_NEW_JOBID_TS_PROPERTY
Property to store timestamp of new job id request.
|
static String |
RESPONSE_NEW_JOBID_TS_PROPERTY
Property to store timestamp of response of new job id request.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
restoreContextClassLoader(ClassLoader oldLdr)
Restore context class loader.
|
static ClassLoader |
setContextClassLoader(ClassLoader newLdr)
Set context class loader.
|
static List<HadoopInputSplit> |
sortInputSplits(Collection<HadoopInputSplit> splits)
Sort input splits by length.
|
public static final String JOB_CLS_NAME
public static final String REQ_NEW_JOBID_TS_PROPERTY
public static final String RESPONSE_NEW_JOBID_TS_PROPERTY
public static final String JOB_SUBMISSION_START_TS_PROPERTY
public static final String JOB_COUNTER_WRITER_PROPERTY
public static List<HadoopInputSplit> sortInputSplits(Collection<HadoopInputSplit> splits)
splits - Splits.@Nullable public static ClassLoader setContextClassLoader(@Nullable ClassLoader newLdr)
newLdr - New class loader.public static void restoreContextClassLoader(@Nullable
ClassLoader oldLdr)
oldLdr - Original class loader.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019