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

dfs ls and lsr commands differ from POSIX standards

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15.1, 0.16.0
    • 0.17.0
    • None
    • None

    Description

      Assuming the dfs commands follow POSIX standards, there are some problems with the DFS ls and lsr commands. I compared the DFS output with that of RHEL 4u5

      1. ls a directory when there are no files/directories in that directory:
      Linux: No output
      DFS: Found 0 items

      2. ls a file/directory that does not exist:
      Linux: ls: /doesnotexist: No such file or directory
      DFS: Found 0 items

      3. lsr a directory that does not exist:
      Linux: ls: /doesnotexist: No such file or directory
      DFS: No output

      Attachments

        1. Hadoop-2190_2.patch
          3 kB
          Mahadev Konar
        2. Hadoop-2190_1.patch
          2 kB
          Mahadev Konar
        3. HADOOP-2190-2.patch
          8 kB
          Lohit Vijaya Renu
        4. HADOOP-2190-1.patch
          4 kB
          Lohit Vijaya Renu

        Issue Links

          Activity

            People

              mahadev Mahadev Konar
              mukundm Mukund Madhugiri
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: