[ 
https://issues.apache.org/jira/browse/HDFS-7054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colin Patrick McCabe updated HDFS-7054:
---------------------------------------
    Attachment: HDFS-7054.003.patch

This adds a unit test, and also fixes a bug.  the bug was that we were sorting 
the whole array and then looking at the first n_used elements.  But if the used 
elements were greater than 0, the first few elements would be zeroes.  This is 
fixed by sorting only the first n_used elements rather than the entire array.

Also fixed the hsync double trace thing.

> Make DFSOutputStream tracing more fine-grained
> ----------------------------------------------
>
>                 Key: HDFS-7054
>                 URL: https://issues.apache.org/jira/browse/HDFS-7054
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: 2.6.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-7054.001.patch, HDFS-7054.002.patch, 
> HDFS-7054.003.patch
>
>




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

Reply via email to