Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
Attachments
Issue Links
- blocks
-
HDFS-4025 QJM: Sychronize past log segments to JNs that missed them
- Resolved
- is a parent of
-
HDFS-14696 Backport HDFS-11273 to branch-2 (Move TransferFsImage#doGetUrl function to a Util class)
- Resolved