public class WrapperJobConf
extends org.apache.hadoop.mapred.JobConf
DEFAULT_LOG_LEVEL, DEFAULT_MAPRED_TASK_JAVA_OPTS, DEFAULT_MAPREDUCE_RECOVER_JOB, DEFAULT_QUEUE_NAME, DISABLED_MEMORY_LIMIT, MAPRED_JOB_MAP_MEMORY_MB_PROPERTY, MAPRED_JOB_REDUCE_MEMORY_MB_PROPERTY, MAPRED_LOCAL_DIR_PROPERTY, MAPRED_MAP_TASK_ENV, MAPRED_MAP_TASK_JAVA_OPTS, MAPRED_MAP_TASK_LOG_LEVEL, MAPRED_MAP_TASK_ULIMIT, MAPRED_REDUCE_TASK_ENV, MAPRED_REDUCE_TASK_JAVA_OPTS, MAPRED_REDUCE_TASK_LOG_LEVEL, MAPRED_REDUCE_TASK_ULIMIT, MAPRED_TASK_DEFAULT_MAXVMEM_PROPERTY, MAPRED_TASK_ENV, MAPRED_TASK_JAVA_OPTS, MAPRED_TASK_MAXPMEM_PROPERTY, MAPRED_TASK_MAXVMEM_PROPERTY, MAPRED_TASK_ULIMIT, MAPREDUCE_RECOVER_JOB, UNPACK_JAR_PATTERN_DEFAULT, UPPER_LIMIT_ON_TASK_VMEM_PROPERTY, WORKFLOW_ADJACENCY_PREFIX_PATTERN, WORKFLOW_ADJACENCY_PREFIX_STRING, WORKFLOW_ID, WORKFLOW_NAME, WORKFLOW_NODE_NAME, WORKFLOW_TAGS| Constructor and Description |
|---|
WrapperJobConf(org.apache.hadoop.conf.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
get(String name) |
String |
get(String name,
String defaultValue) |
boolean |
getBoolean(String name,
boolean defaultValue) |
Class<?> |
getClass(String name,
Class<?> defaultValue) |
<U> Class<? extends U> |
getClass(String name,
Class<? extends U> defaultValue,
Class<U> xface) |
Class<?> |
getClassByName(String name) |
Class<?> |
getClassByNameOrNull(String name) |
ClassLoader |
getClassLoader() |
org.apache.hadoop.conf.Configuration |
getConfig() |
double |
getDouble(String name,
double defaultValue) |
float |
getFloat(String name,
float defaultValue) |
int |
getInt(String name,
int defaultValue) |
int[] |
getInts(String name) |
long |
getLong(String name,
long defaultValue) |
Iterator<Map.Entry<String,String>> |
iterator() |
void |
readFields(DataInput in) |
void |
set(String name,
String value) |
void |
setBoolean(String name,
boolean value) |
void |
setBooleanIfUnset(String name,
boolean value) |
void |
setClassLoader(ClassLoader classLoader) |
void |
setDouble(String name,
double value) |
void |
setFloat(String name,
float value) |
void |
setIfUnset(String name,
String value) |
void |
setInt(String name,
int value) |
void |
setLong(String name,
long value) |
void |
unset(String name) |
void |
write(DataOutput out) |
deleteLocalFiles, deleteLocalFiles, findContainingJar, getCombinerClass, getCombinerKeyGroupingComparator, getCompressMapOutput, getCredentials, getInputFormat, getJar, getJarUnpackPattern, getJobEndNotificationURI, getJobLocalDir, getJobName, getJobPriority, getKeepFailedTaskFiles, getKeepTaskFilesPattern, getKeyFieldComparatorOption, getKeyFieldPartitionerOption, getLocalDirs, getLocalPath, getMapDebugScript, getMapOutputCompressorClass, getMapOutputKeyClass, getMapOutputValueClass, getMapperClass, getMapRunnerClass, getMapSpeculativeExecution, getMaxMapAttempts, getMaxMapTaskFailuresPercent, getMaxPhysicalMemoryForTask, getMaxReduceAttempts, getMaxReduceTaskFailuresPercent, getMaxTaskFailuresPerTracker, getMaxVirtualMemoryForTask, getMemoryForMapTask, getMemoryForReduceTask, getNumMapTasks, getNumReduceTasks, getNumTasksToExecutePerJvm, getOutputCommitter, getOutputFormat, getOutputKeyClass, getOutputKeyComparator, getOutputValueClass, getOutputValueGroupingComparator, getPartitionerClass, getProfileEnabled, getProfileParams, getProfileTaskRange, getQueueName, getReduceDebugScript, getReducerClass, getReduceSpeculativeExecution, getSessionId, getSpeculativeExecution, getUseNewMapper, getUseNewReducer, getUser, getWorkingDirectory, normalizeMemoryConfigValue, setCombinerClass, setCombinerKeyGroupingComparator, setCompressMapOutput, setCredentials, setInputFormat, setJar, setJarByClass, setJobEndNotificationURI, setJobName, setJobPriority, setKeepFailedTaskFiles, setKeepTaskFilesPattern, setKeyFieldComparatorOptions, setKeyFieldPartitionerOptions, setMapDebugScript, setMapOutputCompressorClass, setMapOutputKeyClass, setMapOutputValueClass, setMapperClass, setMapRunnerClass, setMapSpeculativeExecution, setMaxMapAttempts, setMaxMapTaskFailuresPercent, setMaxPhysicalMemoryForTask, setMaxReduceAttempts, setMaxReduceTaskFailuresPercent, setMaxTaskFailuresPerTracker, setMaxVirtualMemoryForTask, setMemoryForMapTask, setMemoryForReduceTask, setNumMapTasks, setNumReduceTasks, setNumTasksToExecutePerJvm, setOutputCommitter, setOutputFormat, setOutputKeyClass, setOutputKeyComparatorClass, setOutputValueClass, setOutputValueGroupingComparator, setPartitionerClass, setProfileEnabled, setProfileParams, setProfileTaskRange, setQueueName, setReduceDebugScript, setReducerClass, setReduceSpeculativeExecution, setSessionId, setSpeculativeExecution, setUseNewMapper, setUseNewReducer, setUser, setWorkingDirectoryaddDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addDeprecations, addResource, addResource, addResource, addResource, addResource, addResource, dumpConfiguration, dumpDeprecatedKeys, getClasses, getConfResourceAsInputStream, getConfResourceAsReader, getEnum, getFile, getFinalParameters, getInstances, getLocalPath, getLongBytes, getPassword, getPasswordFromConfig, getPasswordFromCredentialProviders, getPattern, getPropertySources, getProps, getRange, getRaw, getResource, getSocketAddr, getSocketAddr, getStringCollection, getStrings, getStrings, getTimeDuration, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, main, onlyKeyExists, reloadConfiguration, set, setAllowNullValueProperties, setClass, setDeprecatedProperties, setEnum, setPattern, setQuietMode, setSocketAddr, setStrings, setTimeDuration, size, toString, updateConnectAddr, updateConnectAddr, writeXml, writeXmlclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic WrapperJobConf(org.apache.hadoop.conf.Configuration config)
public org.apache.hadoop.conf.Configuration getConfig()
public Class<?> getClassByName(String name) throws ClassNotFoundException
getClassByName in class org.apache.hadoop.conf.ConfigurationClassNotFoundExceptionpublic Class<?> getClassByNameOrNull(String name)
getClassByNameOrNull in class org.apache.hadoop.conf.Configurationpublic Class<?> getClass(String name, Class<?> defaultValue)
getClass in class org.apache.hadoop.conf.Configurationpublic <U> Class<? extends U> getClass(String name, Class<? extends U> defaultValue, Class<U> xface)
getClass in class org.apache.hadoop.conf.Configurationpublic void setClassLoader(ClassLoader classLoader)
setClassLoader in class org.apache.hadoop.conf.Configurationpublic ClassLoader getClassLoader()
getClassLoader in class org.apache.hadoop.conf.Configurationpublic void set(String name, String value)
set in class org.apache.hadoop.conf.Configurationpublic String get(String name, String defaultValue)
get in class org.apache.hadoop.conf.Configurationpublic void setBoolean(String name, boolean value)
setBoolean in class org.apache.hadoop.conf.Configurationpublic void setBooleanIfUnset(String name, boolean value)
setBooleanIfUnset in class org.apache.hadoop.conf.Configurationpublic boolean getBoolean(String name, boolean defaultValue)
getBoolean in class org.apache.hadoop.conf.Configurationpublic void setInt(String name, int value)
setInt in class org.apache.hadoop.conf.Configurationpublic int getInt(String name, int defaultValue)
getInt in class org.apache.hadoop.conf.Configurationpublic int[] getInts(String name)
getInts in class org.apache.hadoop.conf.Configurationpublic void setDouble(String name, double value)
setDouble in class org.apache.hadoop.conf.Configurationpublic double getDouble(String name, double defaultValue)
getDouble in class org.apache.hadoop.conf.Configurationpublic void setFloat(String name, float value)
setFloat in class org.apache.hadoop.conf.Configurationpublic float getFloat(String name, float defaultValue)
getFloat in class org.apache.hadoop.conf.Configurationpublic void setLong(String name, long value)
setLong in class org.apache.hadoop.conf.Configurationpublic long getLong(String name, long defaultValue)
getLong in class org.apache.hadoop.conf.Configurationpublic void unset(String name)
unset in class org.apache.hadoop.conf.Configurationpublic void setIfUnset(String name, String value)
setIfUnset in class org.apache.hadoop.conf.Configurationpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class org.apache.hadoop.conf.ConfigurationIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class org.apache.hadoop.conf.ConfigurationIOExceptionpublic void clear()
clear in class org.apache.hadoop.conf.ConfigurationCopyright © 2012–2023. All rights reserved.