You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/06/27 10:02:00 UTC

[jira] [Comment Edited] (FLINK-9675) Avoid FileInputStream/FileOutputStream

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

Chesnay Schepler edited comment on FLINK-9675 at 6/27/18 10:01 AM:
-------------------------------------------------------------------

+1, 
There have been similar problems in hdfs HDFS Performance is impacted by FileInputStream Finalizer. We can also take a look on HDFS-8562




was (Author: mingleizhang):
+1, 
There have been similar problems in hdfs HDFS Performance is impacted by FileInputStream Finalizer. We can also take a look on [https://issues.apache.org/jira/browse/HDFS-8562|http://example.com]



> Avoid FileInputStream/FileOutputStream
> --------------------------------------
>
>                 Key: FLINK-9675
>                 URL: https://issues.apache.org/jira/browse/FLINK-9675
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: zhangminglei
>            Priority: Minor
>
> They rely on finalizers (before Java 11), which create unnecessary GC load. The alternatives, Files.newInputStream, are as easy to use and don't have this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)