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

Sergey Shelukhin commented on HIVE-6809:
----------------------------------------

On code level patch looks ok.

1) I am not sure how acceptable it is to break thrift APIs.
[~ashutoshc] can you comment?

I wonder again if you can augment existing dropPartitions req/resp based API?
Or if not, maybe convert existing ones to req/resp if they are changing anyway, 
so it would be easier to change them later.

2) Can this also use bulk delete path from database? 





> Support bulk deleting directories for partition drop with partial spec
> ----------------------------------------------------------------------
>
>                 Key: HIVE-6809
>                 URL: https://issues.apache.org/jira/browse/HIVE-6809
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Navis
>         Attachments: HIVE-6809.1.patch.txt, HIVE-6809.2.patch.txt
>
>
> In busy hadoop system, dropping many of partitions takes much more time than 
> expected. In hive-0.11.0, removing 1700 partitions by single partial spec 
> took 90 minutes, which is reduced to 3 minutes when deleteData is set false. 
> I couldn't test this in recent hive, which has HIVE-6256 but if the 
> time-taking part is mostly from removing directories, it seemed not helpful 
> to reduce whole processing time.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to