Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 16198 invoked from network); 23 Jul 2010 20:19:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Jul 2010 20:19:15 -0000 Received: (qmail 41521 invoked by uid 500); 23 Jul 2010 20:19:15 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 41507 invoked by uid 500); 23 Jul 2010 20:19:14 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 41498 invoked by uid 99); 23 Jul 2010 20:19:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 20:19:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 20:19:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6NKIoxa020581 for ; Fri, 23 Jul 2010 20:18:50 GMT Message-ID: <21935650.555781279916330248.JavaMail.jira@thor> Date: Fri, 23 Jul 2010 16:18:50 -0400 (EDT) From: "Siying Dong (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-1413) bring a table/partition offline In-Reply-To: <3691435.63961276806143478.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.