Package alluxio.wire

Class ConfigCheckReport


  • public class ConfigCheckReport
    extends java.lang.Object
    Represents a configuration report which records the configuration checker results. Since we check server-side configuration, Scope here only includes SERVER, MASTER and WORKER. Scope.ALL will be considered as Scope.SERVER.
    • Constructor Detail

      • ConfigCheckReport

        public ConfigCheckReport()
        Creates a new instance of ConfigCheckReport.
      • ConfigCheckReport

        public ConfigCheckReport​(java.util.Map<alluxio.grpc.Scope,​java.util.List<InconsistentProperty>> errors,
                                 java.util.Map<alluxio.grpc.Scope,​java.util.List<InconsistentProperty>> warns,
                                 alluxio.grpc.ConfigStatus status)
        Creates a new instance of ConfigCheckReport.
        Parameters:
        errors - the configuration errors
        warns - the configuration warnings
        status - the configuration check status
      • ConfigCheckReport

        public ConfigCheckReport​(alluxio.grpc.ConfigCheckReport configCheckReport)
        Creates a new instance of ConfigCheckReport from a proto representation.
        Parameters:
        configCheckReport - the proto representation of a configuration check report
    • Method Detail

      • fromProto

        public static ConfigCheckReport fromProto​(alluxio.grpc.ConfigCheckReport report)
        Creates a new instance of ConfigCheckReport from proto representation.
        Parameters:
        report - the proto representation of a configuration check report
        Returns:
        the instance
      • getConfigErrors

        public java.util.Map<alluxio.grpc.Scope,​java.util.List<InconsistentProperty>> getConfigErrors()
        Returns:
        a map of configuration errors
      • getConfigWarns

        public java.util.Map<alluxio.grpc.Scope,​java.util.List<InconsistentProperty>> getConfigWarns()
        Returns:
        a map of configuration warnings
      • getConfigStatus

        public alluxio.grpc.ConfigStatus getConfigStatus()
        Returns:
        the overall configuration status
      • toProto

        public alluxio.grpc.ConfigCheckReport toProto()
        Returns:
        proto representation of the configuration check report