Mingliang Liu created HDFS-11007:

             Summary: AliyunOSSInputStream#read() should update read bytes stat 
                 Key: HDFS-11007
                 URL: https://issues.apache.org/jira/browse/HDFS-11007
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: tools
            Reporter: Mingliang Liu
            Assignee: Mingliang Liu

  public synchronized int read() throws IOException {
    if (statistics != null && byteRead >= 0) {
    return byteRead;

I believe it should be {{statistics.incrementBytesRead(byteRead);}}?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to