public final class LauncherOptionsParser extends Object
LauncherOptions
.Modifier and Type | Field and Description |
---|---|
static String |
KEY_CACHE_ENABLED
The configuration key of whether library cache mechanism is enabled or not.
|
static String |
KEY_CACHE_JOBJAR
The configuration key of whether cached job jar is enabled or not.
|
static String |
KEY_CACHE_REPOSITORY
The configuration key of remote cache repository path.
|
static String |
KEY_CACHE_RETRY_COUNT
The configuration key of max number of cache building retry attempt.
|
static String |
KEY_CACHE_RETRY_INTERVAL
The configuration key of interval long of cache building retry attempt.
|
static String |
KEY_CACHE_TEMPORARY
The configuration key of local temporary directory for cache building.
|
static String |
KEY_MAX_THREADS
The configuration key of max thread number for cache building.
|
Modifier and Type | Method and Description |
---|---|
static LauncherOptions |
parse(org.apache.hadoop.conf.Configuration configuration,
String... args)
Analyze application arguments and returns
LauncherOptions object. |
public static final String KEY_CACHE_ENABLED
public static final String KEY_CACHE_REPOSITORY
public static final String KEY_CACHE_RETRY_COUNT
public static final String KEY_CACHE_RETRY_INTERVAL
public static final String KEY_CACHE_TEMPORARY
public static final String KEY_MAX_THREADS
public static final String KEY_CACHE_JOBJAR
public static LauncherOptions parse(org.apache.hadoop.conf.Configuration configuration, String... args) throws IOException, InterruptedException
LauncherOptions
object.configuration
- the Hadoop configuration for the applicationargs
- the launcher argumentsIllegalArgumentException
- if launch arguments are not validIOException
- if failed to build launch options by I/O errorInterruptedException
- if interrupted while building launch optionsCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.