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 D01BD10B6E for ; Mon, 13 Jan 2014 00:07:38 +0000 (UTC) Received: (qmail 12906 invoked by uid 500); 13 Jan 2014 00:07:05 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 12821 invoked by uid 500); 13 Jan 2014 00:07:03 -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 12798 invoked by uid 500); 13 Jan 2014 00:07:00 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 12733 invoked by uid 99); 13 Jan 2014 00:06:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jan 2014 00:06:54 +0000 Date: Mon, 13 Jan 2014 00:06:53 +0000 (UTC) From: "Shuaishuai Nie (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-5032) Enable hive creating external table at the root directory of DFS 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-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuaishuai Nie updated HIVE-5032: --------------------------------- Attachment: HIVE-5032.4.patch Thanks [~ashutoshc] for the advice. Attached the updated patch #4 accordingly. > Enable hive creating external table at the root directory of DFS > ---------------------------------------------------------------- > > Key: HIVE-5032 > URL: https://issues.apache.org/jira/browse/HIVE-5032 > Project: Hive > Issue Type: Bug > Reporter: Shuaishuai Nie > Assignee: Shuaishuai Nie > Attachments: HIVE-5032.1.patch, HIVE-5032.2.patch, HIVE-5032.3.patch, HIVE-5032.4.patch > > > Creating external table using HIVE with location point to the root directory of DFS will fail because the function HiveFileFormatUtils#doGetPartitionDescFromPath treat authority of the path the same as folder and cannot find a match in the "pathToPartitionInfo" table when doing prefix match. -- This message was sent by Atlassian JIRA (v6.1.5#6160)