@Override
    public void setErasureCodingPolicy(Path path, String ecPolicyName) throws IOException {
      hdfsAdmin.setErasureCodingPolicy(path, ecPolicyName);
    }
Sets an erasure coding policy on a directory at the specified path.
@param path a directory in HDFS
@param ecPolicyName the name of the erasure coding policy
shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java