[ https://issues.apache.org/jira/browse/HDFS-13936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628004#comment-16628004 ]
Ewan Higgs commented on HDFS-13936: ----------------------------------- 01 * If the parts in the FileSystemMultipartUploader are empty then only touch the file (create+close). * Add a contract test to make sure this works across MPU implementations. > multipart upload to HDFS to support 0 byte upload > ------------------------------------------------- > > Key: HDFS-13936 > URL: https://issues.apache.org/jira/browse/HDFS-13936 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: fs, hdfs > Affects Versions: 3.2.0 > Reporter: Steve Loughran > Assignee: Ewan Higgs > Priority: Major > Attachments: HDFS-13936.01.patch > > > MPUs to HDFS fail as you can't concat an empty block. > Whatever uploads to HDFS needs to recognise that specific case "0-byte file" > and rather than try and concat things, just create a 0-byte file there. > Without this, you can't use MPU as a replacement for distcp or alternative > commit protocols. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org