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

Alan Gates commented on HIVE-2777:
----------------------------------

Is the goal here to reduce the number of partitions that Hive has or the number 
of files in HDFS?  If the goal is to reduce the number of files then you might 
consider using har to pack the files into one and then change the location 
value in the partitions.  
                
> ability to add and drop partitions atomically
> ---------------------------------------------
>
>                 Key: HIVE-2777
>                 URL: https://issues.apache.org/jira/browse/HIVE-2777
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore
>            Reporter: Aniket Mokashi
>             Fix For: 0.9.0
>
>
> Hive should have ability to atomically add and drop partitions. This way 
> admins can change partitions atomically without breaking the running jobs. It 
> allows admin to merge several partitions into one.
> Essentially, we would like to have an api- add_drop_partitions(String db, 
> String tbl_name, List<Partition> addParts, List<List<String>> dropParts, 
> boolean deleteData);
> This jira covers changes required for metastore and thrift.

--
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