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

Upgrade fails for Windows HA cluster due to file locks held during rename in JournalNode.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4.1
    • 2.6.0
    • journal-node
    • None
    • Reviewed

    Description

      During upgrade of an HA cluster, the JournalNode attempts to rename the current storage directory to previous. However, the process still holds the last committed transaction ID file opened while this is happening. On Windows, this is a locking violation that causes the rename operation to fail. Ultimately the whole upgrade fails. There is a similar problem during rollback too.

      Attachments

        1. HDFS-7042.1.patch
          2 kB
          Chris Nauroth

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: