saxenapranav commented on code in PR #6633:
URL: https://github.com/apache/hadoop/pull/6633#discussion_r1544235470
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClientThrottlingIntercept.java:
##########
@@ -170,7 +170,7 @@ public void updateMetrics(AbfsRestOperationType
operationType,
}
break;
case ReadFile:
- String range =
abfsHttpOperation.getConnection().getRequestProperty(HttpHeaderConfigurations.RANGE);
+ String range =
abfsHttpOperation.getRequestProperty(HttpHeaderConfigurations.RANGE);
Review Comment:
The name of variable was wrong, have refactored it to `httpOperation`. It is
of type `HttpOperation`. `getRequestProperty` is an abstract method which the
AbfsHttpOperation and AbfsAHCOperation would implement. The JDK's approach
class `AbfsHttpOperation` will implement it as
getConnection().getRequestProperty(key)
--
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]