Пример #1
0
 public override string GetHealthReport()
 {
     YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder p = this.viaProto ? this.proto
                          : this.builder;
     if (!p.HasHealthReport())
     {
         return(null);
     }
     return(p.GetHealthReport());
 }
Пример #2
0
 public override bool GetIsNodeHealthy()
 {
     YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder p = this.viaProto ? this.proto
                          : this.builder;
     return(p.GetIsNodeHealthy());
 }
Пример #3
0
 public override long GetLastHealthReportTime()
 {
     YarnServerCommonProtos.NodeHealthStatusProtoOrBuilder p = this.viaProto ? this.proto
                          : this.builder;
     return(p.GetLastHealthReportTime());
 }