Details
-
Bug
-
Status: Patch Available
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In this file: https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ViewFs.md
The rest of the document refers to clusterX, but the sample mount table uses the incorrect capitalisation ClusterX.
It took me a little while to figure out why my experiments were not working. This is compounded by the fact that errors from viewfs are not very descriptive, e.g.:
$ hdfs dfs -ls / ls: viewfs://clusterX/ $ hdfs dfs -cat /xyz cat: viewfs://clusterX/
Suggested fix is to replace the 5 instances of ClusterX with clusterX. And ideally improve the error message to something like:
$ hdfs dfs -ls / ls: viewfs://clusterX/: No such property fs.viewfs.mounttable.clusterX.link.*