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

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

     [ https://issues.apache.org/jira/browse/HADOOP-14580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Owen updated HADOOP-14580:
-------------------------------
    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.:

{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}

  was:
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}


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