[
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: [email protected]
For additional commands, e-mail: [email protected]