ZihanLi58 commented on a change in pull request #2986:
URL: https://github.com/apache/incubator-gobblin/pull/2986#discussion_r425571520



##########
File path: 
gobblin-core/src/main/java/org/apache/gobblin/writer/FsDataWriter.java
##########
@@ -262,7 +262,7 @@ public void commit()
     LOG.info(String.format("Moving data from %s to %s", this.stagingFile, 
this.outputFile));
     // For the same reason as deleting the staging file if it already exists, 
overwrite
     // the output file if it already exists to prevent task retry from being 
blocked.
-    HadoopUtils.renamePath(this.fileContext, this.stagingFile, 
this.outputFile, true);
+    HadoopUtils.renamePath(this.fs, this.stagingFile, this.outputFile, true);

Review comment:
       This is intentional, as we don't know if there is any subclass use this 
member. So I leave it to make backward consistency




----------------------------------------------------------------
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]


Reply via email to