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

2.0 release upgrade must handle blocks being written from 1.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 0.23.4, 2.0.2-alpha
    • Component/s: datanode
    • Labels:
      None

      Description

      Release 2.0 upgrades must handle blocks being written to (bbw) files from 1.0 release. Problem reported by @brahmareddy
      The DataNode will only have one block pool after upgrading from a 1.x release. (This is because in the 1.x releases, there were no block pools-- or equivalently, everything was in the same block pool). During the upgrade, we should hardlink the block files from the blocksBeingWritten directory into the rbw directory of this block pool. Similarly, on -finalize, we should delete the blocksBeingWritten directory.

        Attachments

        1. hdfs-3731.branch-023.patch.txt
          23 kB
          Kihwal Lee
        2. hadoop1-bbw.tgz
          39 kB
          Colin P. McCabe
        3. HDFS-3731.003.patch
          21 kB
          Colin P. McCabe
        4. HDFS-3731.002.patch
          21 kB
          Colin P. McCabe

          Issue Links

            Activity

              People

              • Assignee:
                kihwal Kihwal Lee
                Reporter:
                sureshms Suresh Srinivas
              • Votes:
                0 Vote for this issue
                Watchers:
                20 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: