You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2017/03/30 17:44:42 UTC
[jira] [Updated] (HIVE-16334) Query lock contains the query string,
which can cause OOM on ZooKeeper
[ https://issues.apache.org/jira/browse/HIVE-16334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Vary updated HIVE-16334:
------------------------------
Attachment: HIVE-16334.patch
Introduce a new configuration change which defines the max query string length in the lock objects
> Query lock contains the query string, which can cause OOM on ZooKeeper
> ----------------------------------------------------------------------
>
> Key: HIVE-16334
> URL: https://issues.apache.org/jira/browse/HIVE-16334
> Project: Hive
> Issue Type: Improvement
> Components: Locking
> Reporter: Peter Vary
> Assignee: Peter Vary
> Attachments: HIVE-16334.patch
>
>
> When there are big number of partitions in a query this will result in a huge number of locks on ZooKeeper. Since the query object contains the whole query string this might cause serious memory pressure on the ZooKeeper services.
> It would be good to have the possibility to truncate the query strings that are written into the locks
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)