public class DependencyChecker extends java.lang.Object
| Constructor and Description |
|---|
DependencyChecker() |
| Modifier and Type | Method and Description |
|---|---|
static ActionDependency |
checkForAvailability(java.lang.String[] missingDependencies,
org.apache.hadoop.conf.Configuration actionConf,
boolean stopOnFirstMissing)
Get the currently missing and available dependencies after checking the list of known missing
dependencies against the source.
|
static ActionDependency |
checkForAvailability(java.lang.String missingDependencies,
org.apache.hadoop.conf.Configuration actionConf,
boolean stopOnFirstMissing)
Get the currently missing and available dependencies after checking the list of known missing
dependencies against the source.
|
static java.lang.String[] |
dependenciesAsArray(java.lang.String missingDependencies)
Return a array of missing dependencies
|
static java.lang.String |
dependenciesAsString(java.util.List<java.lang.String> missingDependencies)
Return a string of missing dependencies concatenated by CoordELFunctions.INSTANCE_SEPARATOR
|
public DependencyChecker()
public static java.lang.String dependenciesAsString(java.util.List<java.lang.String> missingDependencies)
missingDependencies - list of missing dependenciespublic static java.lang.String[] dependenciesAsArray(java.lang.String missingDependencies)
missingDependencies - missing dependencies concatenated by
CoordELFunctions.INSTANCE_SEPARATORpublic static ActionDependency checkForAvailability(java.lang.String missingDependencies, org.apache.hadoop.conf.Configuration actionConf, boolean stopOnFirstMissing) throws CommandException
missingDependencies - known missing dependenciesactionConf - Configuration for the actionstopOnFirstMissing - Does not continue check for the rest of list if there is a missing
dependencyCommandExceptionpublic static ActionDependency checkForAvailability(java.lang.String[] missingDependencies, org.apache.hadoop.conf.Configuration actionConf, boolean stopOnFirstMissing) throws CommandException
missingDependencies - known missing dependenciesactionConf - Configuration for the actionstopOnFirstMissing - Does not continue check for the rest of list if there is a missing
dependencyCommandExceptionCopyright © 2019 Apache Software Foundation. All Rights Reserved.