hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7054) Make DFSOutputStream tracing more fine-grained
Date Wed, 18 Mar 2015 19:44:39 GMT

     [ 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

View raw message