Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.23.0, 2.0.0-alpha
-
None
-
Reviewed
Description
If the viewfs config doesn't have a trailing slash commands like the following fail:
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> ...]
We hit this problem with the following configuration because "hdfs://ha-nn-uri" does not have a trailing "/".
<property> <name>fs.viewfs.mounttable.foo.link./nameservices/ha-nn-uri</name> <value>hdfs://ha-nn-uri</value> </property>