Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8719F10DDA for ; Wed, 7 Jan 2015 07:53:34 +0000 (UTC) Received: (qmail 1511 invoked by uid 500); 7 Jan 2015 07:53:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 1376 invoked by uid 500); 7 Jan 2015 07:53:34 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 1072 invoked by uid 500); 7 Jan 2015 07:53:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 1035 invoked by uid 99); 7 Jan 2015 07:53:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 07:53:34 +0000 Date: Wed, 7 Jan 2015 07:53:34 +0000 (UTC) From: "Dong Chen (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9283) Improve encryption related test cases 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-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dong Chen updated HIVE-9283: ---------------------------- Description: NO PRECOMMIT TESTS I found some test cases .q file could be improved by: 1. change the table location from {{/user/hive/warehouse...}} to {{/build/ql/test/data/warehouse/...}}. The reason is that the default warehouse dir defined in QTestUtil is the latter one, and the partial mask is based on it. I think it is better to make test cases consistent with code. Also the .hive_staging location we want in .out will be shown then. 2. add cleanup at the end. drop table and delete key. Otherwise, some cases will fail caused by cannot create existed key. (Put in HIVE-9286) was: I found some test cases .q file could be improved by: 1. change the table location from {{/user/hive/warehouse...}} to {{/build/ql/test/data/warehouse/...}}. The reason is that the default warehouse dir defined in QTestUtil is the latter one, and the partial mask is based on it. I think it is better to make test cases consistent with code. Also the .hive_staging location we want in .out will be shown then. 2. add cleanup at the end. drop table and delete key. Otherwise, some cases will fail caused by cannot create existed key. (Put in HIVE-9286) > Improve encryption related test cases > ------------------------------------- > > Key: HIVE-9283 > URL: https://issues.apache.org/jira/browse/HIVE-9283 > Project: Hive > Issue Type: Sub-task > Reporter: Dong Chen > Assignee: Dong Chen > Attachments: HIVE-9283.patch > > > NO PRECOMMIT TESTS > I found some test cases .q file could be improved by: > 1. change the table location from {{/user/hive/warehouse...}} to {{/build/ql/test/data/warehouse/...}}. > The reason is that the default warehouse dir defined in QTestUtil is the latter one, and the partial mask is based on it. I think it is better to make test cases consistent with code. Also the .hive_staging location we want in .out will be shown then. > 2. add cleanup at the end. > drop table and delete key. Otherwise, some cases will fail caused by cannot create existed key. (Put in HIVE-9286) -- This message was sent by Atlassian JIRA (v6.3.4#6332)