Nelson Costa created ZEPPELIN-2592:
--------------------------------------

             Summary: Ensure all streams are explicitly closed
                 Key: ZEPPELIN-2592
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2592
             Project: Zeppelin
          Issue Type: Improvement
    Affects Versions: 0.8.0
            Reporter: Nelson Costa
            Priority: Minor
             Fix For: 0.8.0


When I started looking at Zeppelin's source code, I was surprised to find in a 
few places, missing ".close()" statements for input and output streams.
As example:
https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/helium/HeliumBundleFactory.java#L220
(no gcis.close() statement)
In order to prevent out-of-memory exceptions or other side effects, I'll work 
on this improvement of ensuring all (or most) streams life cycle is handled.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to