Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4619

No Exception is thrown if we try to create directory using FileContext (create) on RawLocalFileSystem. Even if the directory already exists.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      as per FileContext create should fail if the file/directory is already present. However if the underlying filesystem is RawLocalFileSystem then it doesn't throw any exception.

      FileContext.create()
      RawLocalFileSystem.mkdirs()

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ojoshi Omkar Vinit Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: