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)