[
https://issues.apache.org/jira/browse/HADOOP-17290?focusedWorklogId=615797&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-615797
]
ASF GitHub Bot logged work on HADOOP-17290:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Jun/21 20:10
Start Date: 28/Jun/21 20:10
Worklog Time Spent: 10m
Work Description: sumangala-patki commented on a change in pull request
#2520:
URL: https://github.com/apache/hadoop/pull/2520#discussion_r660083909
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsLease.java
##########
@@ -114,13 +119,15 @@ public AbfsLease(AbfsClient client, String path, int
acquireMaxRetries,
LOG.debug("Acquired lease {} on {}", leaseID, path);
}
- private void acquireLease(RetryPolicy retryPolicy, int numRetries, int
retryInterval, long delay)
+ private void acquireLease(RetryPolicy retryPolicy, int numRetries,
+ int retryInterval, long delay)
throws LeaseException {
LOG.debug("Attempting to acquire lease on {}, retry {}", path, numRetries);
if (future != null && !future.isDone()) {
throw new LeaseException(ERR_LEASE_FUTURE_EXISTS);
}
- future = client.schedule(() -> client.acquireLease(path,
INFINITE_LEASE_DURATION),
+ future = client.schedule(() -> client.acquireLease(path,
+ INFINITE_LEASE_DURATION, new TracingContext(tracingContext)),
Review comment:
not needed; moved to calling method (constructor) where it is cloned
only once, instead of per retry
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 615797)
Time Spent: 6h 20m (was: 6h 10m)
> ABFS: Add Identifiers to Client Request Header
> ----------------------------------------------
>
> Key: HADOOP-17290
> URL: https://issues.apache.org/jira/browse/HADOOP-17290
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.3.0
> Reporter: Sumangala Patki
> Assignee: Sumangala Patki
> Priority: Major
> Labels: abfsactive, pull-request-available
> Time Spent: 6h 20m
> Remaining Estimate: 0h
>
> Adding unique values to the client request header to assist in correlating
> requests
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]