[
https://issues.apache.org/jira/browse/HADOOP-13723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15574349#comment-15574349
]
Hudson commented on HADOOP-13723:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10609 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/10609/])
HADOOP-13723. AliyunOSSInputStream#read() should update read bytes stat
(liuml07: rev d9f73f1b7cd893a7d88baa9bfd1b809a5dec9e59)
* (edit)
hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/AliyunOSSInputStream.java
> AliyunOSSInputStream#read() should update read bytes stat correctly
> -------------------------------------------------------------------
>
> Key: HADOOP-13723
> URL: https://issues.apache.org/jira/browse/HADOOP-13723
> Project: Hadoop Common
> Issue Type: Bug
> Components: tools
> Reporter: Mingliang Liu
> Assignee: Mingliang Liu
> Attachments: HDFS-11007.000.patch
>
>
> {code}
> @Override
> public synchronized int read() throws IOException {
> ......
> if (statistics != null && byteRead >= 0) {
> statistics.incrementBytesRead(1);
> }
> return byteRead;
> }
> {code}
> I believe it should be {{statistics.incrementBytesRead(byteRead);}}?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]