anujmodi2021 commented on code in PR #7642:
URL: https://github.com/apache/hadoop/pull/7642#discussion_r2057533364


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java:
##########
@@ -347,8 +347,9 @@ public void registerListener(Listener listener1) {
 
   @Override
   public FSDataInputStream open(final Path path, final int bufferSize) throws 
IOException {
-    LOG.debug("AzureBlobFileSystem.open path: {} bufferSize: {}", path, 
bufferSize);
     // bufferSize is unused.
+    LOG.debug("AzureBlobFileSystem.open path: {} bufferSize: {}", path,

Review Comment:
   Trying to understand this from a user's perspective. If someone is calling 
this method with a buffer size they expect that buffer size to get honoured and 
if they really want that buffer size to be honored they should know how to make 
that happen.
   
   Let's add debug something like this: `AzureBlobFileSystem.open path: {} 
bufferSize as configured in "fs.azure.read.request.size": {}", path, 
abfsStore.getAbfsConfiguration().getReadBufferSize())`



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to