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

Add unsetStoragePolicy API to FileContext/AbstractFileSystem and derivatives

    Details

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

      Description

      This is to augment FileContext/AbstractFileSystem and derivatives with newly added API unsetStoragePolicy.

        Issue Links

          Activity

          Hide
          xiaobingo Xiaobing Zhou added a comment -

          The patch v000 is posted, please kindly review, thanks.

          Show
          xiaobingo Xiaobing Zhou added a comment - The patch v000 is posted, please kindly review, thanks.
          Hide
          jingzhao Jing Zhao added a comment -

          +1 pending Jenkins.

          Show
          jingzhao Jing Zhao added a comment - +1 pending Jenkins.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 13m 59s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
          0 mvndep 0m 49s Maven dependency ordering for branch
          +1 mvninstall 7m 9s trunk passed
          +1 compile 6m 58s trunk passed with JDK v1.8.0_77
          +1 compile 7m 44s trunk passed with JDK v1.7.0_95
          +1 checkstyle 1m 13s trunk passed
          +1 mvnsite 1m 41s trunk passed
          +1 mvneclipse 0m 30s trunk passed
          +1 findbugs 3m 35s trunk passed
          +1 javadoc 1m 23s trunk passed with JDK v1.8.0_77
          +1 javadoc 1m 35s trunk passed with JDK v1.7.0_95
          0 mvndep 0m 16s Maven dependency ordering for patch
          +1 mvninstall 1m 23s the patch passed
          +1 compile 7m 42s the patch passed with JDK v1.8.0_77
          +1 javac 7m 42s the patch passed
          +1 compile 8m 11s the patch passed with JDK v1.7.0_95
          +1 javac 8m 11s the patch passed
          +1 checkstyle 1m 13s the patch passed
          +1 mvnsite 1m 38s the patch passed
          +1 mvneclipse 0m 27s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 4m 0s the patch passed
          +1 javadoc 1m 22s the patch passed with JDK v1.8.0_77
          +1 javadoc 1m 41s the patch passed with JDK v1.7.0_95
          +1 unit 8m 21s hadoop-common in the patch passed with JDK v1.8.0_77.
          +1 unit 1m 1s hadoop-hdfs-client in the patch passed with JDK v1.8.0_77.
          +1 unit 8m 25s hadoop-common in the patch passed with JDK v1.7.0_95.
          +1 unit 1m 3s hadoop-hdfs-client in the patch passed with JDK v1.7.0_95.
          +1 asflicense 0m 25s Patch does not generate ASF License warnings.
          95m 13s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:fbe3e86
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12799613/HDFS-9894.000.patch
          JIRA Issue HDFS-9894
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 6bb0a486137a 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 / 95a5046
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_77 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/15239/testReport/
          modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client U: .
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/15239/console
          Powered by Apache Yetus 0.2.0 http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 13m 59s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. -1 test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. 0 mvndep 0m 49s Maven dependency ordering for branch +1 mvninstall 7m 9s trunk passed +1 compile 6m 58s trunk passed with JDK v1.8.0_77 +1 compile 7m 44s trunk passed with JDK v1.7.0_95 +1 checkstyle 1m 13s trunk passed +1 mvnsite 1m 41s trunk passed +1 mvneclipse 0m 30s trunk passed +1 findbugs 3m 35s trunk passed +1 javadoc 1m 23s trunk passed with JDK v1.8.0_77 +1 javadoc 1m 35s trunk passed with JDK v1.7.0_95 0 mvndep 0m 16s Maven dependency ordering for patch +1 mvninstall 1m 23s the patch passed +1 compile 7m 42s the patch passed with JDK v1.8.0_77 +1 javac 7m 42s the patch passed +1 compile 8m 11s the patch passed with JDK v1.7.0_95 +1 javac 8m 11s the patch passed +1 checkstyle 1m 13s the patch passed +1 mvnsite 1m 38s the patch passed +1 mvneclipse 0m 27s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 4m 0s the patch passed +1 javadoc 1m 22s the patch passed with JDK v1.8.0_77 +1 javadoc 1m 41s the patch passed with JDK v1.7.0_95 +1 unit 8m 21s hadoop-common in the patch passed with JDK v1.8.0_77. +1 unit 1m 1s hadoop-hdfs-client in the patch passed with JDK v1.8.0_77. +1 unit 8m 25s hadoop-common in the patch passed with JDK v1.7.0_95. +1 unit 1m 3s hadoop-hdfs-client in the patch passed with JDK v1.7.0_95. +1 asflicense 0m 25s Patch does not generate ASF License warnings. 95m 13s Subsystem Report/Notes Docker Image:yetus/hadoop:fbe3e86 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12799613/HDFS-9894.000.patch JIRA Issue HDFS-9894 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 6bb0a486137a 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 / 95a5046 Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_77 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/15239/testReport/ modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client U: . Console output https://builds.apache.org/job/PreCommit-HDFS-Build/15239/console Powered by Apache Yetus 0.2.0 http://yetus.apache.org This message was automatically generated.
          Hide
          jingzhao Jing Zhao added a comment -

          I've committed the patch into trunk and branch-2. Thanks Xiaobing Zhou for the contribution!

          Show
          jingzhao Jing Zhao added a comment - I've committed the patch into trunk and branch-2. Thanks Xiaobing Zhou for the contribution!
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #9651 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9651/)
          HDFS-9894. Add unsetStoragePolicy API to FileContext/AbstractFileSystem (jing9: rev 7149cdb3c2d9dd390cd8668883cbe5db94090e0a)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/fs/Hdfs.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFs.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFs.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFs.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #9651 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9651/ ) HDFS-9894 . Add unsetStoragePolicy API to FileContext/AbstractFileSystem (jing9: rev 7149cdb3c2d9dd390cd8668883cbe5db94090e0a) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/AbstractFileSystem.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/fs/Hdfs.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFs.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFs.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFs.java
          Hide
          xiaobingo Xiaobing Zhou added a comment -

          Thank you Jing Zhao for committing it.

          Show
          xiaobingo Xiaobing Zhou added a comment - Thank you Jing Zhao for committing it.
          Hide
          arpitagarwal Arpit Agarwal added a comment -

          Cherry-picked to 2.8.0.

          Show
          arpitagarwal Arpit Agarwal added a comment - Cherry-picked to 2.8.0.

            People

            • Assignee:
              xiaobingo Xiaobing Zhou
              Reporter:
              xiaobingo Xiaobing Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development