You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhangminglei (JIRA)" <ji...@apache.org> on 2018/06/27 09:58:00 UTC
[jira] [Commented] (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 ]
zhangminglei commented on FLINK-9675:
-------------------------------------
+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)