public static boolean partitionNameHasValidCharacters(List<String> partVals,
                                                        Pattern partitionValidationPattern) {
    return getPartitionValWithInvalidCharacter(partVals, partitionValidationPattern) == null;
  }
create listener instances as per the configuration.

@param clazz Class of the listener
@param conf configuration object
@param listenerImplList Implementation class name
@return instance of the listener
@throws MetaException if there is any failure instantiating the class
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java