[ https://issues.apache.org/jira/browse/HDFS-6433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003509#comment-14003509 ]
Benoy Antony commented on HDFS-6433: ------------------------------------ [~cnauroth], could you please review this ? > Replace BytesMoved class with AtomicLong > ---------------------------------------- > > Key: HDFS-6433 > URL: https://issues.apache.org/jira/browse/HDFS-6433 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 2.4.0 > Reporter: Benoy Antony > Assignee: Benoy Antony > 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)