[ 
https://issues.apache.org/jira/browse/HADOOP-18182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519405#comment-17519405
 ] 

Ahmar Suhail commented on HADOOP-18182:
---------------------------------------

[[email protected]] I was looking at this, the S3Object is already referenced 
[here|https://github.com/apache/hadoop/blob/feature-HADOOP-18028-s3a-prefetch/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/read/S3File.java#L65]
 which I think should mean that this problem won't occur?

> S3File to store reference to active S3Object in a field.
> --------------------------------------------------------
>
>                 Key: HADOOP-18182
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18182
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Priority: Major
>
> HADOOP-17338 showed us how recent {{S3Object.finalize()}} can call 
> stream.close() and so close an active stream if a GC happens during a read. 
> replicate the same fix here.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to