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 7991711224 for ; Thu, 7 Aug 2014 03:42:14 +0000 (UTC) Received: (qmail 69231 invoked by uid 500); 7 Aug 2014 03:42:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 69080 invoked by uid 500); 7 Aug 2014 03:42:14 -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 68982 invoked by uid 500); 7 Aug 2014 03:42:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 68978 invoked by uid 99); 7 Aug 2014 03:42:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 03:42:13 +0000 Date: Thu, 7 Aug 2014 03:42:13 +0000 (UTC) From: "Ashish Kumar Singh (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7519) Refactor QTestUtil to remove its duplication with QFileClient for qtest setup and teardown 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-7519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Kumar Singh updated HIVE-7519: ------------------------------------- Attachment: HIVE-7519.2.patch Fix test erros. > Refactor QTestUtil to remove its duplication with QFileClient for qtest setup and teardown > ------------------------------------------------------------------------------------------- > > Key: HIVE-7519 > URL: https://issues.apache.org/jira/browse/HIVE-7519 > Project: Hive > Issue Type: Improvement > Reporter: Ashish Kumar Singh > Assignee: Ashish Kumar Singh > Attachments: HIVE-7519.1.patch, HIVE-7519.2.patch, HIVE-7519.patch > > > QTestUtil hard codes creation and dropping of source tables for qtests. QFileClient does the same thing but in a better way, uses q_test_init.sql and q_test_cleanup.sql scripts. As QTestUtil is growing quite large it makes sense to refactor it to use QFileClient's approach. This will also remove duplication of code addressing same purpose. -- This message was sent by Atlassian JIRA (v6.2#6252)