You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Eric Wohlstadter (JIRA)" <ji...@apache.org> on 2018/06/27 21:25:00 UTC

[jira] [Assigned] (TEZ-3962) Configuration decode leaks an Inflater object

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

Eric Wohlstadter reassigned TEZ-3962:
-------------------------------------

    Assignee: Eric Wohlstadter

> Configuration decode leaks an Inflater object
> ---------------------------------------------
>
>                 Key: TEZ-3962
>                 URL: https://issues.apache.org/jira/browse/TEZ-3962
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.9.2, 0.10.0
>            Reporter: Gopal V
>            Assignee: Eric Wohlstadter
>            Priority: Major
>         Attachments: TEZ-3962.1.patch
>
>
> {code}
> public static Configuration createConfFromByteString(ByteString byteString) throws IOException {
> ...
>     InflaterInputStream uncompressIs = new InflaterInputStream(byteString.newInput());
>     DAGProtos.ConfigurationProto confProto = DAGProtos.ConfigurationProto.parseFrom(uncompressIs);
> {code}
> InflaterInputStream is never closed, this will get eventually collected - but the off-heap buffers for Inflater leaks temporarily.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)