[ 
https://issues.apache.org/jira/browse/HIVE-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942172#comment-14942172
 ] 

Lefty Leverenz commented on HIVE-2907:
--------------------------------------

Doc note:  This added configuration parameter 
*hive.metastore.batch.retrieve.table.partition.max* so it needs to be 
documented in the wiki.  (The parameter description is revised by HIVE-11553.)

* [Configuration Properties -- MetaStore | 
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-MetaStore]

> Hive error when dropping a table with large number of partitions
> ----------------------------------------------------------------
>
>                 Key: HIVE-2907
>                 URL: https://issues.apache.org/jira/browse/HIVE-2907
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.9.0
>         Environment: General. Hive Metastore bug.
>            Reporter: Mousom Dhar Gupta
>            Assignee: Mousom Dhar Gupta
>            Priority: Minor
>              Labels: TODOC10
>             Fix For: 0.10.0
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2907.D2505.1.patch, 
> ASF.LICENSE.NOT.GRANTED--HIVE-2907.D2505.2.patch, 
> ASF.LICENSE.NOT.GRANTED--HIVE-2907.D2505.3.patch, 
> ASF.LICENSE.NOT.GRANTED--HIVE-2907.D2505.4.patch, 
> ASF.LICENSE.NOT.GRANTED--HIVE-2907.D2505.5.patch, 
> ASF.LICENSE.NOT.GRANTED--HIVE-2907.D2505.6.patch, 
> ASF.LICENSE.NOT.GRANTED--HIVE-2907.D2505.7.patch, HIVE-2907.1.patch.txt, 
> HIVE-2907.2.patch.txt, HIVE-2907.3.patch.txt
>
>   Original Estimate: 10h
>  Remaining Estimate: 10h
>
> Running into an "Out Of Memory" error when trying to drop a table with 128K 
> partitions.
> The methods dropTable in 
> metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java 
> and dropTable in ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 
> encounter out of memory errors 
> when dropping tables with lots of partitions because they try to load the 
> metadata for every partition into memory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to