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

HA NameNode transition to active or shutdown may leave lingering image transfer thread.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 3.0.0-alpha1
    • Fix Version/s: 2.5.0
    • Component/s: ha, namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      With HDFS-4816, the standby uploads the new checkpoint to the active in a background thread. This thread may continue to execute after transitioning to active or shutting down. This is marginally wasteful of bandwidth if the image transfer is large, and it also breaks subsequent tests on Windows since the thread continues to hold a lock on a file descriptor in the storage directory.

        Attachments

        1. HDFS-6243.2.patch
          11 kB
          Chris Nauroth
        2. HDFS-6243.1.patch
          10 kB
          Chris Nauroth

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: