Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D79FD200C1B for ; Tue, 14 Feb 2017 11:28:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D645C160B5F; Tue, 14 Feb 2017 10:28:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2913A160B52 for ; Tue, 14 Feb 2017 11:28:45 +0100 (CET) Received: (qmail 91948 invoked by uid 500); 14 Feb 2017 10:28:44 -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 91936 invoked by uid 99); 14 Feb 2017 10:28:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2017 10:28:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A7C6EC0D33 for ; Tue, 14 Feb 2017 10:28:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id hicjX-_zia2d for ; Tue, 14 Feb 2017 10:28:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CCDAA5F570 for ; Tue, 14 Feb 2017 10:28:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 53EF7E0416 for ; Tue, 14 Feb 2017 10:28:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A77C12411D for ; Tue, 14 Feb 2017 10:28:41 +0000 (UTC) Date: Tue, 14 Feb 2017 10:28:41 +0000 (UTC) From: "Sankar Hariappan (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-15910) Improvements in Hive Unit Test by using In-memory Derby DB MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 14 Feb 2017 10:28:46 -0000 Sankar Hariappan created HIVE-15910: --------------------------------------- Summary: Improvements in Hive Unit Test by using In-memory Derby DB Key: HIVE-15910 URL: https://issues.apache.org/jira/browse/HIVE-15910 Project: Hive Issue Type: Test Components: Tests Reporter: Sankar Hariappan Assignee: Sankar Hariappan Hive UT currently uses Derby DB with storage on disk which have some practical problems. 1. The run-time of Hive unit tests are high as need to operate on the disk quite often. 2. It can cause conflict if multiple test cases operates on the same table name (such as table being created already exist). To solve these problems, we shall use an in-memory storage option of Derby DB which can be even persisted if the test case demands that. https://db.apache.org/derby/docs/10.8/devguide/cdevdvlpinmemdb.html -- This message was sent by Atlassian JIRA (v6.3.15#6346)