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