public static List<HivePrivilegeObject> getHivePrivDcObjects(List<String> dcList) {
    List<HivePrivilegeObject> objs = new ArrayList<HivePrivilegeObject>();
    for (String dcname : dcList) {
      objs.add(new HivePrivilegeObject(HivePrivilegeObjectType.DATACONNECTOR, null, dcname));
    }
    return objs;
  }
Convert list of dcnames into list of HivePrivilegeObject
@param dcList
@return
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HivePrivilegeObjectUtils.java