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

Add code to inspect a storage directory with txid-based filenames

    XMLWordPrintableJSON

Details

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

    Description

      After HDFS-1538, the startup of the NN is done with the following phases:

      • Inspect storage directories
      • Formulate a "load plan", where a load plan is:
        • A set of recovery actions (eg deleting half-uploaded checkpoint uplods)
        • The fsimage to restore
        • A sequence of edit logs to replay
      • Run the recovery
      • Load specified image
      • Load specified edits.

      This JIRA adds code to inspect a set of storage directories where the image and edits files are named according to the scheme designed in HDFS-1073, and formulate such a load plan.

      Attachments

        1. HDFS-1793.txt
          34 kB
          Todd Lipcon
        2. hdfs-1793.txt
          34 kB
          Todd Lipcon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: