snvijaya commented on a change in pull request #1508: HADOOP-16548 : Disable 
Flush() over config
URL: https://github.com/apache/hadoop/pull/1508#discussion_r328993592
 
 

 ##########
 File path: 
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsOutputStream.java
 ##########
 @@ -199,7 +202,7 @@ private void maybeThrowLastError() throws IOException {
    */
   @Override
   public void flush() throws IOException {
-    if (supportFlush) {
+    if (!disableOutputStreamFlush) {
 
 Review comment:
   It was intentional to separate FileSystem APIs (HFlush, HSync) controls and 
OutputStream Flush API config control. So that there is no confusion on config 
combinations that needs to be adhered to. Please let me know if you see a 
concern with this. 

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

Reply via email to