You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/01/15 09:21:00 UTC
[jira] [Updated] (PHOENIX-5187) Avoid using FileInputStream and
FileOutputStream
[ https://issues.apache.org/jira/browse/PHOENIX-5187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth updated PHOENIX-5187:
---------------------------------
Fix Version/s: 5.1.0
> Avoid using FileInputStream and FileOutputStream
> -------------------------------------------------
>
> Key: PHOENIX-5187
> URL: https://issues.apache.org/jira/browse/PHOENIX-5187
> Project: Phoenix
> Issue Type: Improvement
> Affects Versions: 4.14.1
> Reporter: Aman Poonia
> Assignee: Aman Poonia
> Priority: Major
> Fix For: 5.1.0
>
> Attachments: PHOENIX-5187-4.x-HBase-1.3.patch
>
>
> Avoid using FileInputStream and FileOutputStream because of
> [https://bugs.openjdk.java.net/browse/JDK-8080225]
> The file objects doesnot get cleaned up even if we close it until full GC happens
> This has been resolved in jdk10
> A quick workaround is to use File.newInputStream and Files.newOutputStream
--
This message was sent by Atlassian Jira
(v8.3.4#803005)