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 2C0CDDD0B for ; Tue, 2 Oct 2012 13:21:17 +0000 (UTC) Received: (qmail 17627 invoked by uid 500); 2 Oct 2012 13:21:16 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 17547 invoked by uid 500); 2 Oct 2012 13:21:16 -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 17302 invoked by uid 99); 2 Oct 2012 13:21:16 -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 13:21:16 +0000 Date: Wed, 3 Oct 2012 00:21:15 +1100 (NCT) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <721191648.154215.1349184076077.JavaMail.jiratomcat@arcas> In-Reply-To: <1975070110.94110.1343098895740.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13467706#comment-13467706 ] Hudson commented on HADOOP-8616: -------------------------------- Integrated in Hadoop-Mapreduce-trunk #1214 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1214/]) HADOOP-8616. ViewFS configuration requires a trailing slash. Contributed by Sandy Ryza. (Revision 1392707) Revert an errant commit of HADOOP-8616. (Revision 1392705) HADOOP-8616. ViewFS configuration requires a trailing slash. Contributed by Sandy Ryza. (Revision 1392703) Result = FAILURE atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1392707 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFs.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/TestChRootedFileSystem.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/TestViewFsURIs.java atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1392705 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFs.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/TestChRootedFileSystem.java atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1392703 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFs.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/viewfs/TestChRootedFileSystem.java > 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