[ https://issues.apache.org/jira/browse/HDFS-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038341#comment-13038341 ]
Todd Lipcon commented on HDFS-1985: ----------------------------------- Will fix indentation nits on commit. This is on the 1073 branch, so Hudson won't run against it. I ran TestCheckpoint which covers this code pretty well, as well as a subset of tests (all those modified in the last 4 commits on the branch). They all passed (except for BN-related ones which are known to be broken at the moment) > HDFS-1073: Cleanup in image transfer servlet > -------------------------------------------- > > Key: HDFS-1985 > URL: https://issues.apache.org/jira/browse/HDFS-1985 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Affects Versions: Edit log branch (HDFS-1073) > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: Edit log branch (HDFS-1073) > > Attachments: hdfs-1985.txt > > > 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira