[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-dev
Subject:    [jira] [Created] (HADOOP-18313) AliyunOSS: AliyunOSSBlockOutputStream should not mark the temporary 
From:       "wujinhu (Jira)" <jira () apache ! org>
Date:       2022-06-25 10:10:00
Message-ID: JIRA.13468395.1656151741000.314291.1656151800043 () Atlassian ! JIRA
[Download RAW message or body]

wujinhu created HADOOP-18313:
--------------------------------

             Summary: 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: 3.3.3, 3.2.3, 2.10.2
            Reporter: wujinhu
            Assignee: wujinhu


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=C2=A0DeleteOnExitHook.add to add t=
he path to a set and will be deleted on VM exit through a shutdown hook. Ho=
wever, the size of set will be growing if the VM does not exit.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic