[ https://issues.apache.org/jira/browse/HIVE-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2777: ------------------------------ Attachment: HIVE-2777.D2271.1.patch aniket486 requested code review of "HIVE-2777 [jira] ability to add and drop partitions atomically". Reviewers: JIRA https://issues.apache.org/jira/browse/HIVE-2777 ability to add and drop partitions atomically 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. TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D2271 AFFECTED FILES metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java metastore/src/gen/thrift/gen-php/hive_metastore/ThriftHiveMetastore.php metastore/if/hive_metastore.thrift MANAGE HERALD DIFFERENTIAL RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/5037/ Tip: use the X-Herald-Rules header to filter Herald messages in your client. > 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 > Assignee: Aniket Mokashi > Fix For: 0.9.0 > > Attachments: HIVE-2777.D2271.1.patch > > > 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