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

FileJournalManager#getLogFile should ignore in progress edit logs during JN sync

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • hdfs
    • None
    • Reviewed

    Description

      Due to synchronization introduced in HDFS-4025, a journal might have an edit log and an in progress edit log with the same start tx id. This would create an exception if GetJournalEditServlet tries to download edit with that start tx id from FileJournalManager. JournalNodeSyncer can fail when trying to fetch an edit log in this scenario.

      FileJournalManager#getLogFile should ignore in progress edit logs for JN sync downloads.

      Attachments

        1. HDFS-11877.001.patch
          6 kB
          Hanisha Koneru

        Activity

          People

            hanishakoneru Hanisha Koneru
            hanishakoneru Hanisha Koneru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: