[
https://issues.apache.org/jira/browse/HADOOP-16306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
wujinhu updated HADOOP-16306:
-----------------------------
Description:
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.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]