Skip to content

Commit 20ea3cc

Browse files
jkhaliqiyingsu00
authored andcommitted
squash this into one commit if needed
this is not necessary but instead the version should increase since that will stp using this deprecated config as well...
1 parent 61104af commit 20ea3cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

presto-hive/src/main/java/com/facebook/presto/hive/util/ConfigurationUtils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public static Configuration copy(Configuration configuration)
6565
public static void copy(Configuration from, Configuration to)
6666
{
6767
for (Map.Entry<String, String> entry : from) {
68+
if (entry.getKey().equals("io.bytes.per.checksum")) {
69+
to.set("dfs.bytes-per-checksum", entry.getValue());
70+
continue;
71+
}
6872
to.set(entry.getKey(), entry.getValue());
6973
}
7074
}

0 commit comments

Comments
 (0)