Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.18.0
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Simplify generation stamp upgrade by making is a local upgrade on datandodes. Deleted distributed upgrade.

      Description

      1. The generation stamp upgrade renames blocks' meta-files so that the name contains the block generation stamp as stated in HADOOP-2656.
        If a data-node has blocks that do not belong to any files and the name-node asks the data-node to remove those blocks
        during or before the upgrade started the data-node will remove the blocks but not the meta-files because their names
        are still in the old format which is not recognized by the new code. So we can end up with a number of garbage files which
        will be hard to recognize that they are unused and the system will never remove them automatically.
        I think this should be handled by the upgrade code in the end, but may be it will be right to fix HADOOP-3002 for the 0.18 release,
        which will avoid scheduling block removal when the name-node is in safe-mode.
      2. I was not able to get the upgrade -force option to work. This option lets the name-node proceed with a distributed upgrade even if
        the data-nodes are not able to complete their local upgrades. Did we test this feature at all for the generation stamp upgrade?
      1. HADOOP-3677-trunk.patch
        5 kB
        Raghu Angadi
      2. HADOOP-3677-trunk.patch
        44 kB
        Raghu Angadi
      3. HADOOP-3677-branch-018.patch
        39 kB
        Raghu Angadi

        Issue Links

          Activity

          Konstantin Shvachko created issue -
          Konstantin Shvachko made changes -
          Field Original Value New Value
          Priority Major [ 3 ] Blocker [ 1 ]
          Konstantin Shvachko made changes -
          Assignee dhruba borthakur [ dhruba ]
          Konstantin Shvachko made changes -
          Link This issue relates to HADOOP-3002 [ HADOOP-3002 ]
          dhruba borthakur made changes -
          Assignee dhruba borthakur [ dhruba ] Raghu Angadi [ rangadi ]
          Raghu Angadi made changes -
          Attachment HADOOP-3707-trunk.patch [ 12386094 ]
          Raghu Angadi made changes -
          Attachment HADOOP-3707-trunk.patch [ 12386094 ]
          Raghu Angadi made changes -
          Attachment HADOOP-3677-trunk.patch [ 12386095 ]
          Raghu Angadi made changes -
          Attachment HADOOP-3677-branch-018.patch [ 12386128 ]
          Raghu Angadi made changes -
          Attachment HADOOP-3677-trunk.patch [ 12386129 ]
          Raghu Angadi made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Raghu Angadi made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Release Note Simplify generation stamp upgrade by making is a local upgrade on datandodes. Deleted distributed upgrade.
          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]

            People

            • Assignee:
              Raghu Angadi
              Reporter:
              Konstantin Shvachko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development