[ 
https://issues.apache.org/jira/browse/HADOOP-17290?focusedWorklogId=614676&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-614676
 ]

ASF GitHub Bot logged work on HADOOP-17290:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jun/21 19:07
            Start Date: 24/Jun/21 19:07
    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_r658211341



##########
File path: 
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java
##########
@@ -1049,8 +1130,11 @@ public boolean exists(Path f) throws IOException {
       throws IOException {
     LOG.debug("AzureBlobFileSystem.listStatusIterator path : {}", path);
     if (abfsStore.getAbfsConfiguration().enableAbfsListIterator()) {
+      TracingContext tracingContext = new TracingContext(clientCorrelationID,
+          fileSystemID, HdfsOperationConstants.LISTSTATUS, true,
+          tracingContextFormat, listener);
       AbfsListStatusRemoteIterator abfsLsItr =
-          new AbfsListStatusRemoteIterator(getFileStatus(path), abfsStore);
+          new AbfsListStatusRemoteIterator(getFileStatus(path), abfsStore, 
tracingContext);
       return RemoteIterators.typeCastingRemoteIterator(abfsLsItr);
     } else {
       return super.listStatusIterator(path);

Review comment:
       the else block eventually calls ABFS liststatus method, which generates 
its own context. It is equivalent to generating and passing object from here as 
there is no action (request) before/after the super method call




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 614676)
    Time Spent: 4h 50m  (was: 4h 40m)

> 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: 4h 50m
>  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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to