Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 61923 invoked from network); 18 Dec 2009 23:02:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Dec 2009 23:02:45 -0000 Received: (qmail 30348 invoked by uid 500); 18 Dec 2009 23:02:45 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 30270 invoked by uid 500); 18 Dec 2009 23:02:45 -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 30260 invoked by uid 99); 18 Dec 2009 23:02:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 23:02:45 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Fri, 18 Dec 2009 23:02:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 24415234C04C for ; Fri, 18 Dec 2009 15:02:18 -0800 (PST) Message-ID: <1488924457.1261177338133.JavaMail.jira@brutus> Date: Fri, 18 Dec 2009 23:02:18 +0000 (UTC) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-518) test mode in hive In-Reply-To: <789957255.1243370865787.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zheng Shao updated HIVE-518: ---------------------------- Description: It would be good to have a test mode in hive - this will help in checking the validity of a hive drop on a production cluster. The following would be good to have: Testmode --> In testmode, all input tables are sampled (if not already sampled) and all output tables are prefixed by a user supplied name. This way, multiple hive drops can be compared quickly for correctness New Options: {code} // whether hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename set hive.test.mode=true; // if hive is running in test mode, prefixes the output table by this string set hive.test.mode.prefix=; // if hive is running in test mode and table is not bucketed, sampling frequency set hive.test.mode.samplefreq=256; // if hive is running in test mode, dont sample the above comma seperated list of tables set hive.test.mode.nosamplelist=; {code} was: It would be good to have a test mode in hive - this will help in checking the validity of a hive drop on a production cluster. The following would be good to have: Testmode --> In testmode, all input tables are sampled (if not already sampled) and all output tables are prefixed by a user supplied name. This way, multiple hive drops can be compared quickly for correctness > test mode in hive > ----------------- > > Key: HIVE-518 > URL: https://issues.apache.org/jira/browse/HIVE-518 > Project: Hadoop Hive > Issue Type: New Feature > Components: Query Processor > Affects Versions: 0.3.1 > Reporter: Namit Jain > Assignee: Namit Jain > Fix For: 0.4.0 > > Attachments: hive-518.5.patch, hive.518.1.patch, hive.518.2.patch, hive.518.3.patch, hive.518.4.patch, hive.518.6.patch, hive.518.7.patch > > > It would be good to have a test mode in hive - this will help in checking the validity of a hive drop on a production cluster. > The following would be good to have: > Testmode --> In testmode, all input tables are sampled (if not already sampled) and all output tables are prefixed by a user supplied name. > This way, multiple hive drops can be compared quickly for correctness > New Options: > {code} > // whether hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename > set hive.test.mode=true; > // if hive is running in test mode, prefixes the output table by this string > set hive.test.mode.prefix=; > // if hive is running in test mode and table is not bucketed, sampling frequency > set hive.test.mode.samplefreq=256; > // if hive is running in test mode, dont sample the above comma seperated list of tables > set hive.test.mode.nosamplelist=; > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.