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 725B510A8B for ; Tue, 25 Nov 2014 22:04:13 +0000 (UTC) Received: (qmail 86395 invoked by uid 500); 25 Nov 2014 22:04:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 86323 invoked by uid 500); 25 Nov 2014 22:04:12 -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 86311 invoked by uid 500); 25 Nov 2014 22:04:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 86308 invoked by uid 99); 25 Nov 2014 22:04:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2014 22:04:12 +0000 Date: Tue, 25 Nov 2014 22:04:12 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HIVE-7300) When creating database by specifying location, .db is not created MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7300?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio Pe=C3=B1a resolved HIVE-7300. ------------------------------- Resolution: Invalid > When creating database by specifying location, .db is not created > ----------------------------------------------------------------- > > Key: HIVE-7300 > URL: https://issues.apache.org/jira/browse/HIVE-7300 > Project: Hive > Issue Type: Bug > Reporter: sourabh potnis > Labels: .db, database, location > > When I create a database without specifying location: > e.g. create database test; > it will get created in /apps/hive/warehouse/ as /apps/hive/warehouse/test= .db > But when I create database by specifying location: > e.g. create database test_loc location '/addh0010/hive/addh0011/warehouse= '; > Database will be created but /addh0010/hive/addh0011/warehouse/test_loc.d= b does not get created. > So if user tries to create 2 tables with same name in two different datab= ases at same location. We are not sure if table is created. > So when database is created with location, .db directory should be create= d with that database name at that location. -- This message was sent by Atlassian JIRA (v6.3.4#6332)