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
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: