[
https://issues.apache.org/jira/browse/HADOOP-18313?focusedWorklogId=788145&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788145
]
ASF GitHub Bot logged work on HADOOP-18313:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 06/Jul/22 06:44
Start Date: 06/Jul/22 06:44
Worklog Time Spent: 10m
Work Description: wsu13 commented on PR #4502:
URL: https://github.com/apache/hadoop/pull/4502#issuecomment-1175842289
Thank @wujinhu for contribution.
Issue Time Tracking
-------------------
Worklog Id: (was: 788145)
Time Spent: 50m (was: 40m)
> AliyunOSS: AliyunOSSBlockOutputStream should not mark the temporary file for
> deletion
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-18313
> URL: https://issues.apache.org/jira/browse/HADOOP-18313
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/oss
> Affects Versions: 2.10.2, 3.2.3, 3.3.3
> Reporter: wujinhu
> Assignee: wujinhu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> AliyunOSSBlockOutputStream buffers data in local directory before uploading
> to OSS. It uses LocalDirAllocator.createTmpFileForWrite which will create a
> temp file on this directory and invoke DeleteOnExitHook.add to add the path
> to a set and will be deleted on VM exit through a shutdown hook. However, the
> size of set will be growing if the VM does not exit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]