[ 
https://issues.apache.org/jira/browse/HADOOP-15917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16684911#comment-16684911
 ] 

Sammi Chen commented on HADOOP-15917:
-------------------------------------

[~wujinhu], some comments,

1. TestAliyunOSSBlockOutputStream. java. 

would you add some comments about why read ops is "7" and write ops is "3" 
here? 

assertEquals({color:#0000ff}7{color}, statistics.getReadOps());

assertEquals({color:#0000ff}3{color}, statistics.getWriteOps());

2.  The statistics counts the successful read and write operations. Do we care 
about the failure operations counts?

3.  FSDataOutputStream is created with a null statistics 

 

> AliyunOSS: fix incorrect ReadOps and WriteOps in statistics
> -----------------------------------------------------------
>
>                 Key: HADOOP-15917
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15917
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/oss
>    Affects Versions: 2.10.0, 2.9.1, 3.2.0, 3.1.1, 3.0.3
>            Reporter: wujinhu
>            Assignee: wujinhu
>            Priority: Major
>         Attachments: HADOOP-15917.001.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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