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

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

                Author: ASF GitHub Bot
            Created on: 12/Apr/21 15:21
            Start Date: 12/Apr/21 15:21
    Worklog Time Spent: 10m 
      Work Description: mehakmeet commented on a change in pull request #2731:
URL: https://github.com/apache/hadoop/pull/2731#discussion_r611715063



##########
File path: 
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAbfsOutputStreamStatistics.java
##########
@@ -241,10 +247,13 @@ public void 
testAbfsOutputStreamDurationTrackerPutRequest() throws IOException {
       outputStream.write('a');
       outputStream.hflush();
 
-      AbfsOutputStreamStatisticsImpl abfsOutputStreamStatistics =
-          getAbfsOutputStreamStatistics(outputStream);
-      LOG.info("AbfsOutputStreamStats info: {}", 
abfsOutputStreamStatistics.toString());
-      
Assertions.assertThat(abfsOutputStreamStatistics.getTimeSpentOnPutRequest())
+      IOStatistics ioStatistics = extractStatistics(fs);
+      LOG.info("AbfsOutputStreamStats info: {}",
+          ioStatisticsToPrettyString(ioStatistics));
+      Assertions.assertThat(

Review comment:
       I am not able to add ```.isGreatherThan(<SOME_DOUBLE>)``` after 
assertThatStatisticMean(), I guess because this is an 
```ObjectAssert<MeanStatistic>``` rather than ```DoubleAssert```?




-- 
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: 581080)
    Time Spent: 1.5h  (was: 1h 20m)

> ABFS to collect IOStatistics
> ----------------------------
>
>                 Key: HADOOP-17471
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17471
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>            Reporter: Steve Loughran
>            Assignee: Mehakmeet Singh
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Add stats collection to ABFS FS operations, especially
> * create
> * open
> * delete
> * rename
> * getFilesStatus
> * list
> * attribute get/set



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