[
https://issues.apache.org/jira/browse/HIVE-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siying Dong updated HIVE-1413:
------------------------------
Attachment: HIVE-1414.1.patch
It's not a check-in-ready patch. It is tested locally but wasn't tested in
cluster yet. Since it is involved in metastore change, want to do a preliminary
first to make sure the metastore change is OK before testing on clusters.
(1) modify thrift model and jdo to add extra columns "protectmode"
(2) modify respective metastore codes to fetch and set the new columns
(3) add command "alter table xxx set protectmode ..." and "alter table xxx
alter partition (...) set protectmode ..."
(4) When parsing and generating test, make sure we check protect mode of all
tables/partitions read or written. Throw error if that is the case.
(5) unit tests for it.
> bring a table/partition offline
> -------------------------------
>
> Key: HIVE-1413
> URL: https://issues.apache.org/jira/browse/HIVE-1413
> Project: Hadoop Hive
> Issue Type: New Feature
> Components: Metastore, Query Processor
> Reporter: Namit Jain
> Assignee: Siying Dong
> Fix For: 0.7.0
>
> Attachments: HIVE-1414.1.patch
>
>
> There should be a way to bring a table/partition offline.
> At that time, no read/write operations should be supported on that table.
> It would be very useful for housekeeping operations
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.