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

HADOOP-16582 changed mkdirs() behavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.10.0, 3.3.0, 2.8.6, 2.9.3, 3.1.3, 3.2.2
    • None
    • None
    • 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.

      kgyrtkirk stevel@apache.org kihwal

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: