Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-602

Atempt to make a directory under an existing file on DistributedFileSystem should throw an FileAlreadyExistsException instead of FileNotFoundException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: hdfs-client, namenode
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed

      Description

      Atempt to make a directory under an existing file on DistributedFileSystem should throw an FileAlreadyExistsException instead of FileNotFoundException.
      Also we should unwrap this exception from RemoteException

      1. HDFS-602.patch
        4 kB
        Boris Shkolnik

        Issue Links

          Activity

          Boris Shkolnik created issue -
          Boris Shkolnik made changes -
          Field Original Value New Value
          Link This issue is part of HDFS-303 [ HDFS-303 ]
          Boris Shkolnik made changes -
          Summary Atempt to make a directory under an existing file on DistributedFileSystem should throw an FileAlreadyExitsException instead of FileNotFoundException Atempt to make a directory under an existing file on DistributedFileSystem should throw an FileAlreadyExistsException instead of FileNotFoundException
          Description Atempt to make a directory under an existing file on DistributedFileSystem should throw an FileAlreadyExitsException instead of FileNotFoundException.
          Also we should unwrap this exception from RemoteException
          Atempt to make a directory under an existing file on DistributedFileSystem should throw an FileAlreadyExistsException instead of FileNotFoundException.
          Also we should unwrap this exception from RemoteException
          Boris Shkolnik made changes -
          Attachment HDFS-602.patch [ 12418972 ]
          Boris Shkolnik made changes -
          Assignee Boris Shkolnik [ boryas ]
          Boris Shkolnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Suresh Srinivas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Incompatible change] [Incompatible change, Reviewed]
          Release Note  DistributedFileSystem mkdirs throws FileAlreadyExistsException instead of FileNotFoundException.
          Fix Version/s 0.21.0 [ 12314046 ]
          Resolution Fixed [ 1 ]
          Suresh Srinivas made changes -
          Component/s hdfs client [ 12312928 ]
          Component/s name-node [ 12312926 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is related to HDFS-617 [ HDFS-617 ]
          Robert Chansler made changes -
          Release Note  DistributedFileSystem mkdirs throws FileAlreadyExistsException instead of FileNotFoundException.
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Boris Shkolnik
              Reporter:
              Boris Shkolnik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development