You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2016/05/05 01:56:12 UTC

[jira] [Resolved] (HDFS-7330) Unclosed RandomAccessFile warnings in FSDatasetIml.

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

Konstantin Shvachko resolved HDFS-7330.
---------------------------------------
       Resolution: Duplicate
    Fix Version/s: 2.7.0

> Unclosed RandomAccessFile warnings in FSDatasetIml.
> ---------------------------------------------------
>
>                 Key: HDFS-7330
>                 URL: https://issues.apache.org/jira/browse/HDFS-7330
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.5.1
>            Reporter: Konstantin Shvachko
>            Assignee: Andras Bokor
>              Labels: newbie
>             Fix For: 2.7.0
>
>
> RandomAccessFile is opened as an underline file for FileInputStream. It should be closed when the stream is closed. So to fix these 2 warning (in getBlockInputStream() and getTmpInputStreams()) we just need suppress them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org