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

Move TransferFsImage#doGetUrl function to a Util class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • hdfs
    • None
    • Reviewed

    Description

      TransferFsImage#doGetUrl downloads files from the specified url and stores them in the specified storage location. HDFS-4025 plans to synchronize the log segments in JournalNodes. If a log segment is missing from a JN, the JN downloads it from another JN which has the required log segment. We need TransferFsImage#doGetUrl and TransferFsImage#receiveFile to accomplish this.
      So we propose to move the said functions to a Utility class so as to be able to use it for JournalNode syncing as well, without duplication of code.

      Attachments

        1. HDFS-11273.000.patch
          20 kB
          Hanisha Koneru
        2. HDFS-11273.001.patch
          21 kB
          Hanisha Koneru
        3. HDFS-11273.002.patch
          23 kB
          Hanisha Koneru
        4. HDFS-11273.003.patch
          28 kB
          Hanisha Koneru
        5. HDFS-11273.004.patch
          36 kB
          Hanisha Koneru
        6. HDFS-11273-branch-2.001.patch
          35 kB
          Hanisha Koneru
        7. HDFS-11273-branch-2.002.patch
          35 kB
          Siyao Meng
        8. HDFS-11273-branch-2.003.patch
          35 kB
          Siyao Meng

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: