Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HADOOP-12358 introduced -safely option to prevent accidental deletion of large directories with lots of files with -rmr -skipTrash. This ticket is opened to track document the usage of this feature in FileSystemShell.html.

        Activity

        Hide
        hadoopqa Hadoop QA added a comment -
        +1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 14s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 mvninstall 6m 58s trunk passed
        +1 mvnsite 1m 3s trunk passed
        +1 mvnsite 0m 52s the patch passed
        +1 whitespace 0m 0s The patch has no whitespace issues.
        +1 asflicense 0m 15s The patch does not generate ASF License warnings.
        9m 43s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:9560f25
        JIRA Issue HADOOP-13685
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12831623/HADOOP-13685.01.patch
        Optional Tests asflicense mvnsite
        uname Linux 27a7cb3ec046 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 44f48ee
        modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/10665/console
        Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 14s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 mvninstall 6m 58s trunk passed +1 mvnsite 1m 3s trunk passed +1 mvnsite 0m 52s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 asflicense 0m 15s The patch does not generate ASF License warnings. 9m 43s Subsystem Report/Notes Docker Image:yetus/hadoop:9560f25 JIRA Issue HADOOP-13685 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12831623/HADOOP-13685.01.patch Optional Tests asflicense mvnsite uname Linux 27a7cb3ec046 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 44f48ee modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/10665/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        LGTM, +1.

        Show
        ajisakaa Akira Ajisaka added a comment - LGTM, +1.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Committed this to trunk, branch-2, and branch-2.8. Thanks Xiaoyu Yao for the contribution!

        Show
        ajisakaa Akira Ajisaka added a comment - Committed this to trunk, branch-2, and branch-2.8. Thanks Xiaoyu Yao for the contribution!
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10544 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10544/)
        HADOOP-13685. Document -safely option of rm command. Contributed by (aajisaka: rev 9a61b52fbefd2970af78bb283ae174d462d57a13)

        • (edit) hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10544 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10544/ ) HADOOP-13685 . Document -safely option of rm command. Contributed by (aajisaka: rev 9a61b52fbefd2970af78bb283ae174d462d57a13) (edit) hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md
        Hide
        xyao Xiaoyu Yao added a comment -

        Thanks Akira Ajisaka for the review and commit.

        Show
        xyao Xiaoyu Yao added a comment - Thanks Akira Ajisaka for the review and commit.

          People

          • Assignee:
            xyao Xiaoyu Yao
            Reporter:
            xyao Xiaoyu Yao
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development