[ https://issues.apache.org/jira/browse/HIVE-20707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641303#comment-16641303 ]
Prasanth Jayachandran commented on HIVE-20707: ---------------------------------------------- This patch depends on HIVE-20696. Currently it includes HIVE-20696. Once HIVE-20696 is committed will rebase the patch again. Other changes include * Moving MSCK code from ql to metastore * Added AutoMsckTask that gets scheduled every 5 minutes by default and runs MSCK REPAIR for tables marked with "auto.msck"="true" table property * "msck.mode" table property for specifying msck repair mode (add/drop/sync) > Automatic MSCK REPAIR for external tables > ----------------------------------------- > > Key: HIVE-20707 > URL: https://issues.apache.org/jira/browse/HIVE-20707 > Project: Hive > Issue Type: New Feature > Affects Versions: 4.0.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Major > Attachments: HIVE-20707.1.patch > > > In current scenario, to add partitions for external tables to metastore, MSCK > REPAIR command has to be executed manually. To avoid this manual step, > external tables can be specified a table property based on which a background > metastore thread can add/drop/sync partitions periodically. -- This message was sent by Atlassian JIRA (v7.6.3#76005)