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

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

                Author: ASF GitHub Bot
            Created on: 09/Oct/20 14:04
            Start Date: 09/Oct/20 14:04
    Worklog Time Spent: 10m 
      Work Description: mehakmeet commented on a change in pull request #2353:
URL: https://github.com/apache/hadoop/pull/2353#discussion_r501670851



##########
File path: 
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsInputStream.java
##########
@@ -279,7 +289,15 @@ int readRemote(long position, byte[] b, int offset, int 
length) throws IOExcepti
     AbfsPerfTracker tracker = client.getAbfsPerfTracker();
     try (AbfsPerfInfo perfInfo = new AbfsPerfInfo(tracker, "readRemote", 
"read")) {
       LOG.trace("Trigger client.read for path={} position={} offset={} 
length={}", path, position, offset, length);
-      op = client.read(path, position, b, offset, length, tolerateOobAppends ? 
"*" : eTag, cachedSasToken.get());
+      if (ioStatistics != null) {
+        op = IOStatisticsBinding.trackDuration((IOStatisticsStore) 
ioStatistics,

Review comment:
       Updated.




----------------------------------------------------------------
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: 498403)
    Time Spent: 2h  (was: 1h 50m)

> ABFS Streams to  support IOStatistics API
> -----------------------------------------
>
>                 Key: HADOOP-17272
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17272
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.3.1
>            Reporter: Steve Loughran
>            Assignee: Mehakmeet Singh
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> ABFS input/output streams to support IOStatistics API



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