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 7239217404 for ; Mon, 12 Jan 2015 17:40:34 +0000 (UTC) Received: (qmail 5684 invoked by uid 500); 12 Jan 2015 17:40:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 5612 invoked by uid 500); 12 Jan 2015 17:40:35 -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 5599 invoked by uid 500); 12 Jan 2015 17:40:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 5596 invoked by uid 99); 12 Jan 2015 17:40:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2015 17:40:35 +0000 Date: Mon, 12 Jan 2015 17:40:35 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9349) Remove the schema in the getQualifiedPathWithoutSchemeAndAuthority method 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-9349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brock Noland updated HIVE-9349: ------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Thank you Ferdinand! I have committed this to branch! > Remove the schema in the getQualifiedPathWithoutSchemeAndAuthority method > ------------------------------------------------------------------------- > > Key: HIVE-9349 > URL: https://issues.apache.org/jira/browse/HIVE-9349 > Project: Hive > Issue Type: Sub-task > Reporter: Ferdinand Xu > Assignee: Ferdinand Xu > Fix For: encryption-branch > > Attachments: HIVE-9349-encryption.patch > > > We should get the absolute path and then get the path without schema. > Current code is like: > Path path = Path.getPathWithoutSchemeAndAuthority(srcf); > return path.makeQualified(path.toUri(), currentWorkingDir).toString(); > The correct order should be like: > Path path = srcf.makeQualified(srcf.toUri(), currentWorkingDir); > Path.getPathWithoutSchemeAndAuthority(path).toString(); -- This message was sent by Atlassian JIRA (v6.3.4#6332)