[
https://issues.apache.org/jira/browse/HADOOP-18457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17607097#comment-17607097
]
ASF GitHub Bot commented on HADOOP-18457:
-----------------------------------------
anmolanmol1234 commented on code in PR #4907:
URL: https://github.com/apache/hadoop/pull/4907#discussion_r975196599
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsRestOperation.java:
##########
@@ -317,7 +321,8 @@ private boolean executeHttpOperation(final int retryCount,
return false;
} finally {
- AbfsClientThrottlingIntercept.updateMetrics(operationType,
httpOperation);
+ AbfsClientThrottlingIntercept instance =
AbfsClientThrottlingInterceptFactory.getInstance(accountName,
isAutoThrottlingEnabled, isSingletonEnabled);
+ instance.updateMetrics(operationType, httpOperation);
Review Comment:
Added null checks
> ABFS: Support for account level throttling
> ------------------------------------------
>
> Key: HADOOP-18457
> URL: https://issues.apache.org/jira/browse/HADOOP-18457
> Project: Hadoop Common
> Issue Type: Sub-task
> Affects Versions: 3.3.4
> Reporter: Anmol Asrani
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> To add support for throttling at account level
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]