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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0, 3.0.0-alpha1
    • 2.5.0
    • ha, namenode
    • None
    • 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.1.patch
          10 kB
          Chris Nauroth
        2. HDFS-6243.2.patch
          11 kB
          Chris Nauroth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: