You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2018/12/05 02:40:00 UTC
[jira] [Created] (HIVE-21005) LLAP: Reading more stripes per-split
leaks ZlibCodecs
Gopal V created HIVE-21005:
------------------------------
Summary: LLAP: Reading more stripes per-split leaks ZlibCodecs
Key: HIVE-21005
URL: https://issues.apache.org/jira/browse/HIVE-21005
Project: Hive
Issue Type: Bug
Reporter: Gopal V
OrcEncodedDataReader - calls ensureDataReader in a loop, overwriting itself
{code}
for (int stripeIxMod = 0; stripeIxMod < stripeRgs.length; ++stripeIxMod) {
....
// 6.2. Ensure we have stripe metadata. We might have read it before for RG filtering.
if (stripeMetadatas != null) {
stripeMetadata = stripeMetadatas.get(stripeIxMod);
} else {
...
ensureDataReader();
...
}
{code}
{code}
private void ensureDataReader() throws IOException {
...
stripeReader = orcReader.encodedReader(
fileKey, dw, dw, useObjectPools ? POOL_FACTORY : null, trace, useCodecPool, cacheTag);
{code}
creates new encodedReader without closing previous stripe's encoded reader.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)