Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3731

2.0 release upgrade must handle blocks being written from 1.0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development