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

dfs mkdir command differs 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 mkdir command. I compared the DFS output with that of RHEL 4u5:

      1. mkdir a directory that exists:
      Linux: mkdir: cannot create directory `test': File exists
      DFS: No output

      2. mkdir a directory with the name of a file that already exists:

      • Linux: mkdir: `test/one' exists but is not a directory
      • DFS: mkdir: java.io.IOException: Invalid directory name: <home directory>/test/one

      Attachments

        1. Hadoop-2195_1.patch
          2 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: