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

HADOOP-16582 changed mkdirs() behavior

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.10.0, 3.3.0, 2.8.6, 2.9.3, 3.1.3, 3.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      HADOOP-16582 changed behavior of mkdirs()
      Some Hive tests depend on the old behavior and they fail miserably.

      earlier:

      all plain mkdirs(somePath) were fast-tracked to FileSystem.mkdirs which have rerouted them to mkdirs(somePath, somePerm) method with some defaults (which were static)
      an implementation of FileSystem have only needed implement "mkdirs(somePath, somePerm)" - because the other was not neccessarily called if it was always in a FilterFileSystem or something like that
      now:

      especially FilterFileSystem forwards the call of mkdirs(p) to the actual fs implementation...which may skip overriden mkdirs(somPath,somePerm) methods
      ...and could cause issues for existing FileSystem implementations

      File this jira to address this problem.

      Zoltan Haindrich Steve Loughran Kihwal Lee

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                weichiu Wei-Chiu Chuang
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: