Ejemplo n.º 1
0
 public static YarnApplicationAttemptState ConvertFromProtoFormat(YarnProtos.YarnApplicationAttemptStateProto
                                                                  e)
 {
     return(YarnApplicationAttemptState.ValueOf(e.ToString().Replace(YarnApplicationAttemptStatePrefix
                                                                     , string.Empty)));
 }
 private YarnApplicationAttemptState ConvertFromProtoFormat(YarnProtos.YarnApplicationAttemptStateProto
                                                            yarnApplicationAttemptState)
 {
     return(ProtoUtils.ConvertFromProtoFormat(yarnApplicationAttemptState));
 }