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

Undeprecate createNonRecursive()

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

        1. hdfs-6264-v3.txt
          10 kB
          Ted Yu
        2. hdfs-6264-v2.txt
          10 kB
          Ted Yu
        3. hdfs-6264-v1.txt
          5 kB
          Ted Yu

        Issue Links

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment