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

Replace BlockInfo.isUnderConstruction() with isComplete()

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Append Branch
    • Fix Version/s: Append Branch
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: