Uploaded image for project: 'Apache Twill (Retired)'
  1. Apache Twill (Retired)
  2. TWILL-162

Location mkdirs behavior is inconsistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      LocalLocation's implementation of mkdirs() calls File.mkdirs(), which returns false if the directory already exists.

      HDFSLocation's implementation of mkdirs() calls FileSystem.mkdirs(), which returns true if the directory already exists.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ashau Albert Shau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: