Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14580

Sample mount table in ViewFs.md contains capitalization error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • viewfs
    • 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.*
      

      Attachments

        1. HADOOP-14580.001.patch
          2 kB
          Chen Liang

        Activity

          People

            vagarychen Chen Liang
            toddmowen Todd Owen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: