Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6433

Replace BytesMoved class with AtomicLong

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • balancer & mover
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HDFS-6433.patch
          2 kB
          Benoy Antony

        Activity

          People

            benoyantony Benoy Antony
            benoyantony Benoy Antony
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: