cosmind-db commented on code in PR #4907:
URL: https://github.com/apache/hadoop/pull/4907#discussion_r975234278


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsRestOperation.java:
##########
@@ -278,8 +282,8 @@ private boolean executeHttpOperation(final int retryCount,
       // dump the headers
       AbfsIoUtils.dumpHeadersToDebugLog("Request Headers",
           httpOperation.getConnection().getRequestProperties());
-      AbfsClientThrottlingIntercept.sendingRequest(operationType, 
abfsCounters);
-
+      intercept = 
AbfsClientThrottlingInterceptFactory.getInstance(accountName, 
isAutoThrottlingEnabled, isSingletonEnabled);

Review Comment:
   this naming is not consistent with the one used below. In one place the 
variable is called `intercept` and in another `instance`.  I guess the 
intention is for both cases to use the `intercept` variable ad L248? 



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