Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1073 Simpler model for Namenode's fs Image and edit Logs
  3. HDFS-2027

1073: Image inspector should return finalized logs before unfinalized logs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Edit log branch (HDFS-1073)
    • namenode
    • None
    • Reviewed

    Description

      Found this small bug while testing multiple NNs under failure conditions on the 1073 branch. When the 2NN calls getEditLogManifest(), it expects a list of finalized logs. In the case that one of the edit log directories had failed and recovered, there would be some txid for which there was an edit_N_inprogress and an edits_N-M (finalized). The edit log manifest needs to see the finalized one when it exists.

      Attachments

        1. hdfs-2027.txt
          4 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: