public static StoragePolicyValue lookup(String name) {
      if (name == null) {
        return DEFAULT;
      }
      return StoragePolicyValue.valueOf(name.toUpperCase().trim());
    }
Create a shim for DFS storage policy.
shims/common/src/main/java/org/apache/hadoop/hive/shims/HadoopShims.java