Example #1
0
 public virtual NodeAction GetNodeAction()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     if (!p.HasNodeAction())
     {
         return(null);
     }
     return(ConvertFromProtoFormat(p.GetNodeAction()));
 }
Example #2
0
 public virtual string GetDiagnosticsMessage()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     if (!p.HasDiagnosticsMessage())
     {
         return(null);
     }
     return(p.GetDiagnosticsMessage());
 }
Example #3
0
 public virtual string GetRMVersion()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     if (!p.HasRmVersion())
     {
         return(null);
     }
     return(p.GetRmVersion());
 }
Example #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);
 }
Example #5
0
 public virtual long GetRMIdentifier()
 {
     YarnServerCommonServiceProtos.RegisterNodeManagerResponseProtoOrBuilder p = viaProto
                          ? proto : builder;
     return(p.GetRmIdentifier());
 }