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