示例#1
0
 public virtual NodeAction GetNodeAction()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     if (!p.HasNodeAction())
     {
         return(null);
     }
     return(ConvertFromProtoFormat(p.GetNodeAction()));
 }
示例#2
0
 public virtual string GetDiagnosticsMessage()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     if (!p.HasDiagnosticsMessage())
     {
         return(null);
     }
     return(p.GetDiagnosticsMessage());
 }
示例#3
0
 public virtual string GetRMVersion()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     if (!p.HasRmVersion())
     {
         return(null);
     }
     return(p.GetRmVersion());
 }
示例#4
0
 public virtual MasterKey GetNMTokenMasterKey()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     if (this.nmTokenMasterKey != null)
     {
         return(this.nmTokenMasterKey);
     }
     if (!p.HasNmTokenMasterKey())
     {
         return(null);
     }
     this.nmTokenMasterKey = ConvertFromProtoFormat(p.GetNmTokenMasterKey());
     return(this.nmTokenMasterKey);
 }
示例#5
0
 public virtual long GetRMIdentifier()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     return(p.GetRmIdentifier());
 }