예제 #1
0
 /*
  * QueueACL
  */
 public static YarnProtos.QueueACLProto ConvertToProtoFormat(QueueACL e)
 {
     return(YarnProtos.QueueACLProto.ValueOf(QueueAclPrefix + e.ToString()));
 }
 private static string GetAclKey(QueueACL acl)
 {
     return("acl_" + StringUtils.ToLowerCase(acl.ToString()));
 }