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

Inaccurate comment on DatanodeDescriptor#getNumberOfBlocksToBeErasureCoded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha3
    • 3.0.0-alpha4
    • namenode
    • None

    Description

      I saw this comment is an inaccurate copy paste:

        /**
         * The number of work items that are pending to be replicated
         */
        @VisibleForTesting
        public int getNumberOfBlocksToBeErasureCoded() {
          return erasurecodeBlocks.size();
        }
      

      Attachments

        1. HDFS-12032.001.patch
          1 kB
          Andrew Wang

        Activity

          People

            andrew.wang Andrew Wang
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: