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

dfs du and dus commands differ from POSIX standards

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.1, 0.16.0
    • Fix Version/s: 0.17.0
    • Component/s: None
    • Labels:
      None

      Description

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

      1. du a file/directory that does not exist:
      Linux: du: cannot access `something': No such file or directory
      DFS: Found 0 items

      2. dus a file/directory that does not exist:

      • Linux: du: cannot access `something': No such file or directory
      • DFS: /something 0

        Attachments

        1. Hadoop-2191_4.patch
          3 kB
          Mahadev konar
        2. Hadoop-2191_2.patch
          3 kB
          Mahadev konar
        3. Hadoop-2191_1.patch
          3 kB
          Mahadev konar

          Issue Links

            Activity

              People

              • Assignee:
                mahadev Mahadev konar
                Reporter:
                mukundm Mukund Madhugiri
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: