vvysotskyi commented on a change in pull request #1895: DRILL-6540: Upgrade to
HADOOP-3.x libraries
URL: https://github.com/apache/drill/pull/1895#discussion_r344259408
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/store/LocalSyncableFileSystem.java
##########
@@ -141,7 +141,7 @@ public LocalSyncableOutputStream(Path path) throws
FileNotFoundException {
output = new BufferedOutputStream(fos, 64*1024);
}
- @Override
+ // TODO: remove it after upgrade MapR profile onto hadoop.version 3.1
public void sync() throws IOException {
output.flush();
fos.getFD().sync();
Review comment:
Please replace this method implementation with the `hsync()` call.
----------------------------------------------------------------
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