hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Liang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14580) Sample mount table in ViewFs.md contains capitalization error
Date Wed, 19 Jul 2017 19:28:00 GMT

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

Chen Liang updated HADOOP-14580:
--------------------------------
    Status: Patch Available  (was: Open)

> 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
>            Assignee: Chen Liang
>            Priority: Trivial
>         Attachments: HADOOP-14580.001.patch
>
>
> 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


Mime
View raw message