[ https://issues.apache.org/jira/browse/HADOOP-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467424#comment-13467424 ]
Hudson commented on HADOOP-8616: -------------------------------- Integrated in Hadoop-Mapreduce-trunk-Commit #2824 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2824/]) HADOOP-8616. ViewFS configuration requires a trailing slash. Contributed by Sandy Ryza. (Revision 1392707) Revert an errant commit of HADOOP-8616. (Revision 1392705) 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 > 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] [<path> ...] > {noformat} > We hit this problem with the following configuration because > "hdfs://ha-nn-uri" does not have a trailing "/". > {noformat} > <property> > <name>fs.viewfs.mounttable.foo.link./nameservices/ha-nn-uri</name> > <value>hdfs://ha-nn-uri</value> > </property> > {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