fx19880617 commented on a change in pull request #5218: Fix HDFS copy logic
URL: https://github.com/apache/incubator-pinot/pull/5218#discussion_r409784244
##########
File path:
pinot-plugins/pinot-file-system/pinot-hdfs/src/main/java/org/apache/pinot/plugin/filesystem/HadoopPinotFS.java
##########
@@ -60,6 +62,7 @@ public void init(Configuration config) {
_hadoopConf = getConf(config.getString(HADOOP_CONF_PATH));
authenticate(_hadoopConf, config);
_hadoopFS = org.apache.hadoop.fs.FileSystem.get(_hadoopConf);
+ _hadoopFS.setWriteChecksum((config.getBoolean(WRITE_CHECKSUM, false)));
Review comment:
This will still do checksum but not write the `.crc` file to directory.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]