hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6433) Replace BytesMoved class with AtomicLong
Date Thu, 22 May 2014 05:00:40 GMT

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

Chris Nauroth updated HDFS-6433:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.0
                   3.0.0
           Status: Resolved  (was: Patch Available)

I have committed this to trunk and branch-2.  Benoy, thank you for the patch.

> Replace BytesMoved class with AtomicLong
> ----------------------------------------
>
>                 Key: HDFS-6433
>                 URL: https://issues.apache.org/jira/browse/HDFS-6433
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: balancer
>    Affects Versions: 2.4.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: HDFS-6433.patch
>
>
> The Balancer internally uses a class _BytesMoved_ to keep track of the bytes moved. It
has the same requirements and semantics of _AtomicLong_. But _BytesMoved_  uses monitors.
It will be an improvement for Balancer to use _AtomicLong_ instead of custom class.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message