Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-265 Revisit append
  3. HDFS-652

Replace BlockInfo.isUnderConstruction() with isComplete()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Append Branch
    • Append Branch
    • namenode
    • None
    • Reviewed

    Description

      In current implementation BlockInfo.isUnderConstruction() means the block is not COMPLETE. But there is also a block state UNDER_CONSTRUCTION, which make the semantics of isUnderConstruction() rather confusing.

      Attachments

        1. isComplete.patch
          7 kB
          Konstantin Shvachko
        2. isComplete.patch
          7 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: