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

dfs du and dus 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 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

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

              Dates

                Created:
                Updated:
                Resolved: