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

skrho commented on YARN-2775:
-----------------------------

In oracle document.. Closes this file input stream and releases any system 
resources associated with the stream.
If this stream has an associated channel then the channel is closed as well...

If close method is not called, no release system resources associated with the 
stream..

Related URL : 
http://docs.oracle.com/javase/8/docs/api/java/io/FileInputStream.html


> There is no close method in NMWebServices#getLogs()
> ---------------------------------------------------
>
>                 Key: YARN-2775
>                 URL: https://issues.apache.org/jira/browse/YARN-2775
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>            Reporter: skrho
>            Priority: Minor
>         Attachments: YARN-2775_001.patch
>
>
> If getLogs method is called,  fileInputStream object is accumulated in 
> memory..
> Because fileinputStream object is not closed..



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

Reply via email to