public final class ValidateEnv extends Object
Constructor and Description |
---|
ValidateEnv(String path,
AlluxioConfiguration conf)
Initializes from the target UFS path and configurations.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getDescription()
Gets the task descriptions.
|
Map<ValidationTask,String> |
getTasks()
Get the tasks registered.
|
static void |
main(String[] args)
Validates Alluxio environment.
|
static void |
printHelp(String message)
Prints the help message.
|
static int |
validate(String... argv)
Validates environment.
|
public ValidateEnv(String path, AlluxioConfiguration conf)
path
- the UFS pathconf
- the UFS configurtionspublic Map<ValidationTask,String> getTasks()
public Map<String,String> getDescription()
public static void printHelp(String message)
message
- message before standard usage informationpublic static int validate(String... argv) throws InterruptedException
argv
- list of argumentsInterruptedException
public static void main(String[] args) throws InterruptedException
args
- the arguments to specify which validation tasks to runInterruptedException
Copyright © 2023. All Rights Reserved.