Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 83491 invoked from network); 9 Feb 2010 08:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2010 08:37:51 -0000 Received: (qmail 75204 invoked by uid 500); 9 Feb 2010 08:37:51 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 75168 invoked by uid 500); 9 Feb 2010 08:37:51 -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 75158 invoked by uid 99); 9 Feb 2010 08:37:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 08:37:51 +0000 X-ASF-Spam-Status: No, hits=-1999.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 08:37:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F3D29234C4A8 for ; Tue, 9 Feb 2010 00:37:27 -0800 (PST) Message-ID: <574064254.144191265704647997.JavaMail.jira@brutus.apache.org> Date: Tue, 9 Feb 2010 08:37:27 +0000 (UTC) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-1122) Make ql/metadata/Table and Partition serializable In-Reply-To: <1420834984.16501265080101087.JavaMail.jira@brutus.apache.org> 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-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zheng Shao updated HIVE-1122: ----------------------------- Attachment: HIVE-1122.4.patch This patch refactored Table.java and Partition.java to make sure these 2 classes captures all ql operations on the metastore, instead of exposing thrift Table and Partition classes directly to ql. > Make ql/metadata/Table and Partition serializable > ------------------------------------------------- > > Key: HIVE-1122 > URL: https://issues.apache.org/jira/browse/HIVE-1122 > Project: Hadoop Hive > Issue Type: Improvement > Affects Versions: 0.6.0 > Reporter: Zheng Shao > Assignee: Zheng Shao > Attachments: HIVE-1122.4.patch, HIVE-1122.pre.1.patch > > > Both Table and Partition are just wrappers of the thrift class TTable and TPartition. > However, Table and Partition are not serializable, and there are no guarantee in the code to make sure Table is in sync with the field of TTable. > We should make Table and Partition serializable by only serializing the TTable and TPartition fields, and we should hide the TTable details inside the Table class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.