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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 2.9.0, 3.0.0-beta1
    • fs/azure
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            esmanii Esfandiar Manii Assign to me
            stevel@apache.org Steve Loughran
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment