Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS-5535 (Rolling upgrades)
    • Fix Version/s: None
    • Component/s: datanode, ha, hdfs-client, namenode
    • Labels:
      None

      Description

      If Secondary NN crashes right after calling dfsadmin -rollingUpgrade prepare, it fails to checkpoint because it fails to download the newest fsimage whose name is fsimage_rollback_txid.

      To reproduce this bug:

      1. Run NN and SNN.
      2. Run dfsadmin -rollingUpgrade prepare.
      3. Shutdown SNN, clear all fsimage created by SNN.
      4. Restart SNN, SNN tries to download the fsimage_txid instead of fsimage_rollback_txid, resulting the failure.

        Attachments

          Activity

            People

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              wheat9 Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: