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

hadoop dfs -ls : Do not expand directories (was HDFS-1475)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.23.0
    • None
    • fs
    • None
    • Reviewed

    Description

      In a nutshell, ls needs the ability to list a directory but not its contents. W/o -d, it is impossible to list the root directory's owner, permissions, etc. See the original hdfs bug for details.

      Attachments

        1. HADOOP-7378.patch
          4 kB
          Daryn Sharp
        2. HADOOP-7378-2.patch
          5 kB
          Daryn Sharp
        3. HADOOP-7378-3.patch
          5 kB
          Suresh Srinivas
        4. HADOOP-7378-4.patch
          5 kB
          Suresh Srinivas
        5. HADOOP-7378-5.patch
          6 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: