[ https://issues.apache.org/jira/browse/HADOOP-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450914#comment-13450914 ]
Hadoop QA commented on HADOOP-8616: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12544264/HADOOP-8616.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 1 new or modified test files. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests in hadoop-common-project/hadoop-common: org.apache.hadoop.ha.TestZKFailoverController +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1424//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1424//console This message is automatically generated. > 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 > Attachments: 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