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

Directories are not listed recursively when fs.defaultFs is viewFs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.0
    • None
    • viewfs

    Description

      Mount a cluster on client throught viewFs mount table
      Example:

      <property>
      <name>fs.defaultFS</name>
      <value>viewfs:///</value>
      </property>
      <property>
      <name>fs.viewfs.mounttable.default.link./nn1</name>
      <value>hdfs://ns1/</value> <!-- HA nameservice -->
      </property>
      <property>
      <name>fs.viewfs.mounttable.default.link./user</name>
      <value>hdfs://host-72:8020/</value>
      </property>
      <property>

      Try to list the files recursively (hdfs dfs -ls -R / or hadoop fs -ls -R /) only the parent folders are listed.

      Attachments

        1. HDFS-8413.patch
          3 kB
          Ajith S

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ajithshetty Ajith S
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: