You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Owen (JIRA)" <ji...@apache.org> on 2017/06/23 06:03:00 UTC

[jira] [Created] (HADOOP-14580) Sample mount table in ViewFs.md contains capitalization error

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org