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

Andras Bokor commented on HDFS-7330:
------------------------------------

[~shv] Where do you see the warning?

> 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
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to