hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-16334) Query lock contains the query string, which can cause OOM on ZooKeeper
Date Fri, 07 Apr 2017 12:54:41 GMT

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

Chaoyu Tang updated HIVE-16334:
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Committed to 3.0.0. Thanks [~pvary] for the patch. I think you may need to update the document
for the new property.

> 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
>             Fix For: 3.0.0
>
>         Attachments: HIVE-16334.2.patch, HIVE-16334.3.patch, HIVE-16334.4.patch, 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)

Mime
View raw message