[ https://issues.apache.org/jira/browse/HDFS-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894183#comment-13894183 ]
Vinay commented on HDFS-3405: ----------------------------- Thanks [~wheat9] for explaining your concern. Actually, commons-fileupload dependency is used only to parse the uploaded multipart data at server side. Client side connection establishment happens through {{URLConnectionFactory}} itself and here data will be encoded by our own code. Not using commons-fileupload here. Please check {{TransferImage#uploadImage(..)}} in the patch. Since this library is not involved in establishing connection, I feel there is no problem will arise as you mentioned. Any other problem you are seeing with commons-fileupload dependency..? > Checkpointing should use HTTP POST or PUT instead of GET-GET to send merged > fsimages > ------------------------------------------------------------------------------------ > > Key: HDFS-3405 > URL: https://issues.apache.org/jira/browse/HDFS-3405 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 1.0.0, 3.0.0, 2.0.5-alpha > Reporter: Aaron T. Myers > Assignee: Vinay > Attachments: HDFS-3405.patch, HDFS-3405.patch, HDFS-3405.patch, > HDFS-3405.patch, HDFS-3405.patch, HDFS-3405.patch, HDFS-3405.patch, > HDFS-3405.patch, HDFS-3405.patch, HDFS-3405.patch, HDFS-3405.patch > > > As Todd points out in [this > comment|https://issues.apache.org/jira/browse/HDFS-3404?focusedCommentId=13272986&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13272986], > the current scheme for a checkpointing daemon to upload a merged fsimage > file to an NN is to issue an HTTP get request to tell the target NN to issue > another GET request back to the checkpointing daemon to retrieve the merged > fsimage file. There's no fundamental reason the checkpointing daemon can't > just use an HTTP POST or PUT to send back the merged fsimage file, rather > than the double-GET scheme. -- This message was sent by Atlassian JIRA (v6.1.5#6160)