tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TEZ-3962) Configuration decode leaks an Inflater object
Date Tue, 26 Jun 2018 22:41:00 GMT
Gopal V created TEZ-3962:
----------------------------

             Summary: 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


{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)

Mime
View raw message