[ https://issues.apache.org/jira/browse/HADOOP-16306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838428#comment-16838428 ]
wujinhu commented on HADOOP-16306: ---------------------------------- Hi [~weiweiyagn666] Please help to review this patch, all tests are ok. Thanks :) > AliyunOSS: Remove temporary files when upload small files to OSS > ---------------------------------------------------------------- > > Key: HADOOP-16306 > URL: https://issues.apache.org/jira/browse/HADOOP-16306 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/oss > Affects Versions: 2.10.0, 3.2.0, 2.9.2, 3.0.3, 3.3.0, 3.1.2 > Reporter: wujinhu > Assignee: wujinhu > Priority: Major > Attachments: HADOOP-16306.001.patch, HADOOP-16306.002.patch > > > Currently, AliyunOSSBlockOutputStream will upload files to OSS directly > instead of multi part upload if their size are less than configured part > size(fs.oss.multipart.upload.size). > When caller closes AliyunOSSBlockOutputStream, it will call > removePartFiles(), however, this method will only remove multi part temporary > files, so this patch will fix case above. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org