Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14802

The feature of protect directories should be used in RenameOp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.4, 3.3.0, 3.2.1, 3.1.3
    • 3.3.0
    • hdfs
    • None

    Description

      Now we could set fs.protected.directories to prevent users from deleting important directories. But users can delete directories around the limitation.
      1. Rename the directories and delete them.
      2. move the directories to trash and namenode will delete them.
      So I think we should use the feature of protected directories in RenameOp

      Attachments

        1. HDFS-14802.004.patch
          16 kB
          Hui Fei
        2. HDFS-14802.003.patch
          12 kB
          Hui Fei
        3. HDFS-14802.002.patch
          12 kB
          Hui Fei
        4. HDFS-14802.001.patch
          11 kB
          Hui Fei

        Issue Links

          Activity

            People

              ferhui Hui Fei
              ferhui Hui Fei
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: