phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Poonia (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-5187) Avoid using FileInputStream and FileOutputStream
Date Mon, 11 Mar 2019 17:51:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-5187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aman Poonia updated PHOENIX-5187:
---------------------------------
    Description: 
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 unless full GC happens

This has been resolved in jdk10

A quick workaround is to use File.newInputStream and Files.newOutputStream

  was:
Avoid using FileInputStream and FileOutputStream because of

[https://bugs.openjdk.java.net/browse/JDK-8080225]

This has been resolved in jdk10

A quick workaround is to use File.newInputStream and Files.newOutputStream


> 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
>         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 unless 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
(v7.6.3#76005)

Mime
View raw message