Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14552 Über-jira: WASB client phase II: performance and testing
  3. HADOOP-14583

wasb throws an exception if you try to create a file and there's no parent directory

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: fs/azure
    • Labels:
      None

      Description

      It's a known defect of the Hadoop FS API (and one we don't explicitly test for enough), but you can create a file on a path which doesn't exist. In that situation, the create() logic is expectd to create the entries.

      Wasb appears to raise an exception if you try to call create(filepath) without calling mkdirs(filepath.getParent() first. That's the semantics expected of createNonRecursive()

        Attachments

        1. HADOOP-14583-001.patch
          6 kB
          Esfandiar Manii
        2. HADOOP-14583-002.patch
          6 kB
          Esfandiar Manii
        3. HADOOP-14583-003.patch
          9 kB
          Thomas Marqardt
        4. HADOOP-14583-branch-2-001.patch
          10 kB
          Esfandiar Manii

          Activity

            People

            • Assignee:
              esmanii Esfandiar Manii
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: