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

1073: Move all journal stream management code into one place

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha
    • None
    • None
    • Reviewed

    Description

      Currently in the HDFS-1073 branch, the code for creating output streams is in FileJournalManager and the code for input streams is in the inspectors. This change does a number of things.

      • Input and Output streams are now created by the JournalManager.
      • FSImageStorageInspectors now deals with URIs when referring to edit logs
      • Recovery of inprogress logs is performed by counting the number of transactions instead of looking at the length of the file.

      The patch for this applies on top of the HDFS-1073 branch + HDFS-2003 patch.

      Attachments

        1. hdfs-2018-otherapi.txt
          102 kB
          Todd Lipcon
        2. hdfs-2018.txt
          106 kB
          Todd Lipcon
        3. HDFS-2018.diff
          87 kB
          Ivan Kelly
        4. HDFS-2018.diff
          87 kB
          Ivan Kelly
        5. HDFS-2018.diff
          80 kB
          Ivan Kelly
        6. HDFS-2018.diff
          101 kB
          Ivan Kelly
        7. HDFS-2018.diff
          101 kB
          Ivan Kelly
        8. HDFS-2018.diff
          101 kB
          Ivan Kelly
        9. HDFS-2018.diff
          125 kB
          Ivan Kelly
        10. HDFS-2018.diff
          121 kB
          Ivan Kelly
        11. HDFS-2018.diff
          121 kB
          Ivan Kelly
        12. HDFS-2018.diff
          137 kB
          Ivan Kelly
        13. HDFS-2018.diff
          149 kB
          Ivan Kelly
        14. HDFS-2018.diff
          149 kB
          Ivan Kelly
        15. HDFS-2018.diff
          89 kB
          Ivan Kelly
        16. HDFS-2018.diff
          104 kB
          Ivan Kelly
        17. HDFS-2018.diff
          105 kB
          Ivan Kelly
        18. HDFS-2018.diff
          105 kB
          Ivan Kelly
        19. HDFS-2018.diff
          106 kB
          Ivan Kelly
        20. HDFS-2018.diff
          106 kB
          Ivan Kelly
        21. HDFS-2018.diff
          106 kB
          Ivan Kelly
        22. HDFS-2018.diff
          106 kB
          Ivan Kelly
        23. HDFS-2018.diff
          106 kB
          Ivan Kelly
        24. HDFS-2018.diff
          115 kB
          Ivan Kelly
        25. HDFS-2018.diff
          115 kB
          Ivan Kelly

        Issue Links

          Activity

            People

              ikelly Ivan Kelly
              ikelly Ivan Kelly
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: