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

2.0 release upgrade must handle blocks being written from 1.0

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.0-alpha
    • 0.23.4, 2.0.2-alpha
    • datanode
    • 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. hadoop1-bbw.tgz
          39 kB
          Colin McCabe
        2. HDFS-3731.002.patch
          21 kB
          Colin McCabe
        3. HDFS-3731.003.patch
          21 kB
          Colin McCabe
        4. hdfs-3731.branch-023.patch.txt
          23 kB
          Kihwal Lee

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment