public class DependencyChecker extends Object
| Constructor and Description |
|---|
DependencyChecker() |
| Modifier and Type | Method and Description |
|---|---|
static ActionDependency |
checkForAvailability(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(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 String[] |
dependenciesAsArray(String missingDependencies)
Return a array of missing dependencies
|
static String |
dependenciesAsString(List<String> missingDependencies)
Return a string of missing dependencies concatenated by CoordELFunctions.INSTANCE_SEPARATOR
|
public DependencyChecker()
public static String dependenciesAsString(List<String> missingDependencies)
missingDependencies - list of missing dependenciespublic static String[] dependenciesAsArray(String missingDependencies)
missingDependencies - missing dependencies concatenated by
CoordELFunctions.INSTANCE_SEPARATORpublic static ActionDependency checkForAvailability(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(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 © 2015 Apache Software Foundation. All Rights Reserved.