From common-issues-return-37691-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Tue Oct 2 01:31:08 2012 Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D6D0DEB1 for ; Tue, 2 Oct 2012 01:31:08 +0000 (UTC) Received: (qmail 48108 invoked by uid 500); 2 Oct 2012 01:31:08 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 48073 invoked by uid 500); 2 Oct 2012 01:31:08 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 48064 invoked by uid 99); 2 Oct 2012 01:31:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 01:31:08 +0000 Date: Tue, 2 Oct 2012 12:31:07 +1100 (NCT) From: "Aaron T. Myers (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <943174141.152498.1349141468021.JavaMail.jiratomcat@arcas> In-Reply-To: <1975070110.94110.1343098895740.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HADOOP-8616) ViewFS configuration requires a trailing slash 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/HADOOP-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron T. Myers updated HADOOP-8616: ----------------------------------- Resolution: Fixed Fix Version/s: 2.0.3-alpha Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've just committed this to trunk and branch-2. Thanks a lot for the contribution, Sandy. > ViewFS configuration requires a trailing slash > ---------------------------------------------- > > Key: HADOOP-8616 > URL: https://issues.apache.org/jira/browse/HADOOP-8616 > Project: Hadoop Common > Issue Type: Bug > Components: viewfs > Affects Versions: 0.23.0, 2.0.0-alpha > Reporter: Eli Collins > Assignee: Sandy Ryza > Fix For: 2.0.3-alpha > > Attachments: HADOOP-8616.patch, HADOOP-8616.patch, HADOOP-8616.patch > > > If the viewfs config doesn't have a trailing slash commands like the following fail: > {noformat} > bash-3.2$ hadoop fs -ls > -ls: Can not create a Path from an empty string > Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [ ...] > {noformat} > We hit this problem with the following configuration because "hdfs://ha-nn-uri" does not have a trailing "/". > {noformat} > > fs.viewfs.mounttable.foo.link./nameservices/ha-nn-uri > hdfs://ha-nn-uri > > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira