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

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.6.0
    • Component/s: journal-node
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: