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

Undeprecate createNonRecursive()

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • Reviewed
    • FileSystem#createNonRecursive() is undeprecated.

    Description

      FileSystem#createNonRecursive() is deprecated.
      However, there is no DistributedFileSystem#create() implementation which throws exception if parent directory doesn't exist.
      This limits clients' migration away from the deprecated method.

      For HBase, IO fencing relies on the behavior of FileSystem#createNonRecursive().
      Variant of create() method should be added which throws exception if parent directory doesn't exist.

      Attachments

        Issue Links

        Activity

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

          People

            yuzhihong@gmail.com Ted Yu Assign to me
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment