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

Paul Yang resolved HIVE-2368.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.0
    
> Slow dropping of partitions caused by full listing of storage descriptors
> -------------------------------------------------------------------------
>
>                 Key: HIVE-2368
>                 URL: https://issues.apache.org/jira/browse/HIVE-2368
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Sohan Jain
>            Assignee: Sohan Jain
>             Fix For: 0.9.0
>
>         Attachments: HIVE-2368.1.patch
>
>
> To determine if a column descriptor is unused, we call 
> listStorageDescriptorsWithCD(), which may return a big list of SDs.  This can 
> severely slow down dropping partitions.
> We can add a maximum number of SDs to return, and just ask for 1 SD, since we 
> are just doing an existential check.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to