Skip to content

Commit 5f680d0

Browse files
Test for footer metrics
1 parent e26ee5f commit 5f680d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsRestOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ private boolean executeHttpOperation(final int retryCount,
362362
hostname = httpOperation.getHost();
363363
LOG.warn("Unknown host name: {}. Retrying to resolve the host name...",
364364
hostname);
365-
abfsBackoffMetrics.getNumberOfRequestsFailed().getAndIncrement();
365+
abfsBackoffMetrics.getNumberOfNetworkFailedRequests().getAndIncrement();
366366
if (!client.getRetryPolicy().shouldRetry(retryCount, -1)) {
367367
updateBackoffMetrics(retryCount, httpOperation.getStatusCode());
368368
throw new InvalidAbfsRestOperationException(ex);

0 commit comments

Comments
 (0)