You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2015/04/23 21:59:38 UTC

[jira] [Created] (HDFS-8233) Fix DFSStripedOutputStream#getCurrentBlockGroupBytes when the last stripe is at the block group boundary

Jing Zhao created HDFS-8233:
-------------------------------

             Summary: Fix DFSStripedOutputStream#getCurrentBlockGroupBytes when the last stripe is at the block group boundary
                 Key: HDFS-8233
                 URL: https://issues.apache.org/jira/browse/HDFS-8233
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Jing Zhao
            Assignee: Jing Zhao


Currently {{DFSStripedOutputStream#getCurrentBlockGroupBytes}} simply uses {{getBytesCurBlock}} of each streamer to calculate the block group size. This is wrong when the last stripe is at the block group boundary, since the {{bytesCurBlock}} is set to 0 if an internal block is finished. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)