Todd Owen created HADOOP-14580:
----------------------------------

             Summary: Sample mount table in ViewFs.md contains capitalization 
error
                 Key: HADOOP-14580
                 URL: https://issues.apache.org/jira/browse/HADOOP-14580
             Project: Hadoop Common
          Issue Type: Bug
          Components: viewfs
            Reporter: Todd Owen
            Priority: Trivial


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.:

{noformat}
$ hdfs dfs -ls /
ls: viewfs://clusterX/
$ hdfs dfs -cat /xyz
cat: viewfs://clusterX/
{noformat}

Suggested fix is to replace the 5 instances of {{ClusterX}} with {{clusterX}}. 
And ideally improve the error message to something like:

{noformat}
$ hdfs dfs -ls /
ls: viewfs://clusterX/: No such property fs.viewfs.mounttable.clusterX.link.*
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to