XMLWordPrintableJSON

Details

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

    Description

      The TransferFsImage class has grown several heads and is somewhat confusing to follow. This JIRA is to refactor it a little bit.

      • the TransferFsImage class contains static methods to put/get image and edits files. It's used by checkpointing nodes. [the same static methods it has today]
      • some common code from call sites of TransferFsImage are moved into TransferFsImage itself, so it presents a cleaner interface to checkpointers
      • the non-static parts of TransferFsImage are moved to an inner class of GetImageServlet called GetImageParams, since they were only responsible for parameter parsing/validation.

      Attachments

        1. hdfs-1985.txt
          28 kB
          Todd Lipcon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: