[ https://issues.apache.org/jira/browse/HDFS-13936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625761#comment-16625761 ]
Ewan Higgs commented on HDFS-13936: ----------------------------------- If there anything in the contract of HDFS specifying that it must fail when concatting empty files? If so, is it a bad idea to allow this behaviour? > 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 > > 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