public final class CheckerUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckerUtils.Status
The performIntegrationChecks results.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getLocalAddress() |
static java.io.PrintWriter |
initReportFile() |
static CheckerUtils.Status |
performIntegrationChecks() |
static CheckerUtils.Status |
printNodesResults(java.util.Map<CheckerUtils.Status,java.util.List<java.lang.String>> map,
java.io.PrintWriter reportWriter)
Collects and saves the Status of checked nodes.
|
static boolean |
supportAlluxioHA(java.io.PrintWriter reportWriter,
AlluxioConfiguration alluxioConf)
Checks if the Zookeeper address has been set when running the Alluxio HA mode.
|
public static java.io.PrintWriter initReportFile()
throws java.lang.Exception
java.lang.Exceptionpublic static CheckerUtils.Status performIntegrationChecks()
public static boolean supportAlluxioHA(java.io.PrintWriter reportWriter,
AlluxioConfiguration alluxioConf)
reportWriter - save user-facing messages to a generated filealluxioConf - Alluxio configurationpublic static java.lang.String getLocalAddress()
public static CheckerUtils.Status printNodesResults(java.util.Map<CheckerUtils.Status,java.util.List<java.lang.String>> map, java.io.PrintWriter reportWriter)
map - the transformed integration checker resultsreportWriter - save the result to corresponding checker reportCopyright © 2019. All Rights Reserved.