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

Fix javac warnings related to the deprecated APIs after upgrading Jackson

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      After HADOOP-12705, the Jackson version upgraded from 2.2.3 to 2.7.8. This lead many APIs which we are used in hadoop being deprecated. Since 2.5, these two APIs are deprecated: ObjectReader#readerFor(Class<?> type),ObjectWriter#writerWithType(JavaType rootType)(http://fasterxml.github.io/jackson-databind/javadoc/2.6/com/fasterxml/jackson/databind/ObjectMapper.html).

      According to the doc of ObjectMapper, we can use ObjectReader#readerFor(Class<?> type) and ObjectWriter#writerFor(JavaType) instead.

      1. HDFS-11233-branch-2.001.patch
        12 kB
        Yiqun Lin
      2. HDFS-11233.001.patch
        14 kB
        Yiqun Lin

        Issue Links

          Activity

          Hide
          linyiqun Yiqun Lin added a comment -

          Attached a patch to make a fix. Kindly review. This issue also exists MAPREDUCE, will filed another JIRA to track that later.

          Show
          linyiqun Yiqun Lin added a comment - Attached a patch to make a fix. Kindly review. This issue also exists MAPREDUCE, will filed another JIRA to track that later.
          Hide
          linyiqun Yiqun Lin added a comment -

          Have filed a new JIRA MAPREDUCE-6821 to have a fix in MAPREDUCE.

          Show
          linyiqun Yiqun Lin added a comment - Have filed a new JIRA MAPREDUCE-6821 to have a fix in MAPREDUCE.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 31s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
          0 mvndep 0m 19s Maven dependency ordering for branch
          +1 mvninstall 8m 49s trunk passed
          +1 compile 1m 20s trunk passed
          +1 checkstyle 0m 30s trunk passed
          +1 mvnsite 1m 26s trunk passed
          +1 mvneclipse 0m 25s trunk passed
          +1 findbugs 3m 7s trunk passed
          +1 javadoc 0m 59s trunk passed
          0 mvndep 0m 6s Maven dependency ordering for patch
          +1 mvninstall 1m 16s the patch passed
          +1 compile 1m 20s the patch passed
          +1 javac 1m 20s hadoop-hdfs-project generated 0 new + 39 unchanged - 18 fixed = 39 total (was 57)
          +1 checkstyle 0m 28s the patch passed
          +1 mvnsite 1m 23s the patch passed
          +1 mvneclipse 0m 20s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 findbugs 3m 21s the patch passed
          +1 javadoc 1m 0s the patch passed
          +1 unit 0m 57s hadoop-hdfs-client in the patch passed.
          -1 unit 91m 32s hadoop-hdfs in the patch failed.
          +1 asflicense 0m 20s The patch does not generate ASF License warnings.
          120m 55s



          Reason Tests
          Failed junit tests hadoop.hdfs.TestRollingUpgrade
            hadoop.hdfs.server.datanode.TestNNHandlesBlockReportPerStorage
            hadoop.hdfs.TestSecureEncryptionZoneWithKMS
            hadoop.hdfs.TestTrashWithSecureEncryptionZones
            hadoop.hdfs.server.datanode.TestDirectoryScanner



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:a9ad5d6
          JIRA Issue HDFS-11233
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12842751/HDFS-11233.001.patch
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 3ff851a75234 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 4c38f11
          Default Java 1.8.0_111
          findbugs v3.0.0
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/17831/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
          Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17831/testReport/
          modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17831/console
          Powered by Apache Yetus 0.5.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 31s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. 0 mvndep 0m 19s Maven dependency ordering for branch +1 mvninstall 8m 49s trunk passed +1 compile 1m 20s trunk passed +1 checkstyle 0m 30s trunk passed +1 mvnsite 1m 26s trunk passed +1 mvneclipse 0m 25s trunk passed +1 findbugs 3m 7s trunk passed +1 javadoc 0m 59s trunk passed 0 mvndep 0m 6s Maven dependency ordering for patch +1 mvninstall 1m 16s the patch passed +1 compile 1m 20s the patch passed +1 javac 1m 20s hadoop-hdfs-project generated 0 new + 39 unchanged - 18 fixed = 39 total (was 57) +1 checkstyle 0m 28s the patch passed +1 mvnsite 1m 23s the patch passed +1 mvneclipse 0m 20s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 findbugs 3m 21s the patch passed +1 javadoc 1m 0s the patch passed +1 unit 0m 57s hadoop-hdfs-client in the patch passed. -1 unit 91m 32s hadoop-hdfs in the patch failed. +1 asflicense 0m 20s The patch does not generate ASF License warnings. 120m 55s Reason Tests Failed junit tests hadoop.hdfs.TestRollingUpgrade   hadoop.hdfs.server.datanode.TestNNHandlesBlockReportPerStorage   hadoop.hdfs.TestSecureEncryptionZoneWithKMS   hadoop.hdfs.TestTrashWithSecureEncryptionZones   hadoop.hdfs.server.datanode.TestDirectoryScanner Subsystem Report/Notes Docker Image:yetus/hadoop:a9ad5d6 JIRA Issue HDFS-11233 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12842751/HDFS-11233.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 3ff851a75234 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 4c38f11 Default Java 1.8.0_111 findbugs v3.0.0 unit https://builds.apache.org/job/PreCommit-HDFS-Build/17831/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17831/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17831/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          +1. I ran the failed tests and all of them without TestTrashWithSecureEncryptionZones and TestTrashWithSecureEncryptionZones are succeeded. The two failures are related to HADOOP-13890.

          Show
          ajisakaa Akira Ajisaka added a comment - +1. I ran the failed tests and all of them without TestTrashWithSecureEncryptionZones and TestTrashWithSecureEncryptionZones are succeeded. The two failures are related to HADOOP-13890 .
          Hide
          ajisakaa Akira Ajisaka added a comment -

          I've committed this to trunk. Hi Yiqun Lin, would you provide a patch for branch-2?

          Show
          ajisakaa Akira Ajisaka added a comment - I've committed this to trunk. Hi Yiqun Lin , would you provide a patch for branch-2?
          Hide
          linyiqun Yiqun Lin added a comment - - edited

          Thanks for the review and commit the patch.

          Hi Yiqun Lin, would you provide a patch for branch-2?

          I am preparing to provide the patch for branch-2, but I found the Jackson version in branch-2 is 1.9.13 and there aren't ObjectReader#readerFor(Class<?> type) and ObjectWriter#writerFor(JavaType). I think we should remove jackson 1.9.13 in pom.xml of hadoop-project first, right?

          Show
          linyiqun Yiqun Lin added a comment - - edited Thanks for the review and commit the patch. Hi Yiqun Lin, would you provide a patch for branch-2? I am preparing to provide the patch for branch-2, but I found the Jackson version in branch-2 is 1.9.13 and there aren't ObjectReader#readerFor(Class<?> type) and ObjectWriter#writerFor(JavaType) . I think we should remove jackson 1.9.13 in pom.xml of hadoop-project first, right?
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10988 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10988/)
          HDFS-11233. Fix javac warnings related to the deprecated APIs after (aajisaka: rev 2d4731c067ff64cd88f496eac8faaf302faa2ccc)

          • (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/command/Command.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/planner/NodePlan.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/ConfRefreshTokenBasedAccessTokenProvider.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsVolumeImpl.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/connectors/JsonNodeConnector.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/datanode/DiskBalancerWorkItem.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/util/CombinedHostsFileReader.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/CredentialBasedAccessTokenProvider.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/datamodel/DiskBalancerCluster.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/datanode/DiskBalancerWorkStatus.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/datamodel/DiskBalancerVolume.java
          • (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/JsonUtilClient.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10988 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10988/ ) HDFS-11233 . Fix javac warnings related to the deprecated APIs after (aajisaka: rev 2d4731c067ff64cd88f496eac8faaf302faa2ccc) (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/command/Command.java (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/planner/NodePlan.java (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/ConfRefreshTokenBasedAccessTokenProvider.java (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsVolumeImpl.java (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestJsonUtil.java (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/connectors/JsonNodeConnector.java (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/datanode/DiskBalancerWorkItem.java (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/util/CombinedHostsFileReader.java (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/CredentialBasedAccessTokenProvider.java (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/datamodel/DiskBalancerCluster.java (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/datanode/DiskBalancerWorkStatus.java (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/datamodel/DiskBalancerVolume.java (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/JsonUtilClient.java
          Hide
          linyiqun Yiqun Lin added a comment -

          Sorry, I found the Jackson 2.7.8 also applied into branch-2. Patch for branch-2 attached.

          Show
          linyiqun Yiqun Lin added a comment - Sorry, I found the Jackson 2.7.8 also applied into branch-2. Patch for branch-2 attached.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 15s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
          0 mvndep 0m 33s Maven dependency ordering for branch
          +1 mvninstall 6m 53s branch-2 passed
          +1 compile 1m 17s branch-2 passed with JDK v1.8.0_111
          +1 compile 1m 22s branch-2 passed with JDK v1.7.0_121
          +1 checkstyle 0m 33s branch-2 passed
          +1 mvnsite 1m 25s branch-2 passed
          +1 mvneclipse 0m 28s branch-2 passed
          +1 findbugs 3m 35s branch-2 passed
          +1 javadoc 1m 21s branch-2 passed with JDK v1.8.0_111
          +1 javadoc 2m 1s branch-2 passed with JDK v1.7.0_121
          0 mvndep 0m 9s Maven dependency ordering for patch
          -1 mvninstall 0m 22s hadoop-hdfs-client in the patch failed.
          -1 mvninstall 0m 25s hadoop-hdfs in the patch failed.
          -1 compile 0m 21s hadoop-hdfs-project in the patch failed with JDK v1.8.0_111.
          -1 javac 0m 21s hadoop-hdfs-project in the patch failed with JDK v1.8.0_111.
          -1 compile 0m 22s hadoop-hdfs-project in the patch failed with JDK v1.7.0_121.
          -1 javac 0m 22s hadoop-hdfs-project in the patch failed with JDK v1.7.0_121.
          +1 checkstyle 0m 33s the patch passed
          -1 mvnsite 0m 25s hadoop-hdfs-client in the patch failed.
          -1 mvnsite 0m 27s hadoop-hdfs in the patch failed.
          +1 mvneclipse 0m 24s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          -1 findbugs 0m 22s hadoop-hdfs-client in the patch failed.
          -1 findbugs 0m 25s hadoop-hdfs in the patch failed.
          -1 javadoc 0m 18s hadoop-hdfs-project_hadoop-hdfs-client-jdk1.8.0_111 with JDK v1.8.0_111 generated 16 new + 0 unchanged - 0 fixed = 16 total (was 0)
          -1 javadoc 0m 59s hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_111 with JDK v1.8.0_111 generated 12 new + 7 unchanged - 0 fixed = 19 total (was 7)
          -1 javadoc 0m 22s hadoop-hdfs-project_hadoop-hdfs-client-jdk1.7.0_121 with JDK v1.7.0_121 generated 16 new + 0 unchanged - 0 fixed = 16 total (was 0)
          -1 javadoc 1m 31s hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_121 with JDK v1.7.0_121 generated 12 new + 7 unchanged - 0 fixed = 19 total (was 7)
          -1 unit 0m 21s hadoop-hdfs-client in the patch failed with JDK v1.7.0_121.
          -1 unit 0m 24s hadoop-hdfs in the patch failed with JDK v1.7.0_121.
          +1 asflicense 0m 17s The patch does not generate ASF License warnings.
          30m 53s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:b59b8b7
          JIRA Issue HDFS-11233
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12842920/HDFS-11233-branch-2.001.patch
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 780b5fac56e3 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision branch-2 / 282a562
          Default Java 1.7.0_121
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_111 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_121
          findbugs v3.0.0
          mvninstall https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs-client.txt
          mvninstall https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
          compile https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-compile-hadoop-hdfs-project-jdk1.8.0_111.txt
          javac https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-compile-hadoop-hdfs-project-jdk1.8.0_111.txt
          compile https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-compile-hadoop-hdfs-project-jdk1.7.0_121.txt
          javac https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-compile-hadoop-hdfs-project-jdk1.7.0_121.txt
          mvnsite https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-client.txt
          mvnsite https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
          findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-findbugs-hadoop-hdfs-project_hadoop-hdfs-client.txt
          findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-findbugs-hadoop-hdfs-project_hadoop-hdfs.txt
          javadoc https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/diff-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdk1.8.0_111.txt
          javadoc https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/diff-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_111.txt
          javadoc https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/diff-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdk1.7.0_121.txt
          javadoc https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/diff-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_121.txt
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-client-jdk1.7.0_121.txt
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_121.txt
          JDK v1.7.0_121 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17845/testReport/
          modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17845/console
          Powered by Apache Yetus 0.5.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 15s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. 0 mvndep 0m 33s Maven dependency ordering for branch +1 mvninstall 6m 53s branch-2 passed +1 compile 1m 17s branch-2 passed with JDK v1.8.0_111 +1 compile 1m 22s branch-2 passed with JDK v1.7.0_121 +1 checkstyle 0m 33s branch-2 passed +1 mvnsite 1m 25s branch-2 passed +1 mvneclipse 0m 28s branch-2 passed +1 findbugs 3m 35s branch-2 passed +1 javadoc 1m 21s branch-2 passed with JDK v1.8.0_111 +1 javadoc 2m 1s branch-2 passed with JDK v1.7.0_121 0 mvndep 0m 9s Maven dependency ordering for patch -1 mvninstall 0m 22s hadoop-hdfs-client in the patch failed. -1 mvninstall 0m 25s hadoop-hdfs in the patch failed. -1 compile 0m 21s hadoop-hdfs-project in the patch failed with JDK v1.8.0_111. -1 javac 0m 21s hadoop-hdfs-project in the patch failed with JDK v1.8.0_111. -1 compile 0m 22s hadoop-hdfs-project in the patch failed with JDK v1.7.0_121. -1 javac 0m 22s hadoop-hdfs-project in the patch failed with JDK v1.7.0_121. +1 checkstyle 0m 33s the patch passed -1 mvnsite 0m 25s hadoop-hdfs-client in the patch failed. -1 mvnsite 0m 27s hadoop-hdfs in the patch failed. +1 mvneclipse 0m 24s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. -1 findbugs 0m 22s hadoop-hdfs-client in the patch failed. -1 findbugs 0m 25s hadoop-hdfs in the patch failed. -1 javadoc 0m 18s hadoop-hdfs-project_hadoop-hdfs-client-jdk1.8.0_111 with JDK v1.8.0_111 generated 16 new + 0 unchanged - 0 fixed = 16 total (was 0) -1 javadoc 0m 59s hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_111 with JDK v1.8.0_111 generated 12 new + 7 unchanged - 0 fixed = 19 total (was 7) -1 javadoc 0m 22s hadoop-hdfs-project_hadoop-hdfs-client-jdk1.7.0_121 with JDK v1.7.0_121 generated 16 new + 0 unchanged - 0 fixed = 16 total (was 0) -1 javadoc 1m 31s hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_121 with JDK v1.7.0_121 generated 12 new + 7 unchanged - 0 fixed = 19 total (was 7) -1 unit 0m 21s hadoop-hdfs-client in the patch failed with JDK v1.7.0_121. -1 unit 0m 24s hadoop-hdfs in the patch failed with JDK v1.7.0_121. +1 asflicense 0m 17s The patch does not generate ASF License warnings. 30m 53s Subsystem Report/Notes Docker Image:yetus/hadoop:b59b8b7 JIRA Issue HDFS-11233 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12842920/HDFS-11233-branch-2.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 780b5fac56e3 3.13.0-95-generic #142-Ubuntu SMP Fri Aug 12 17:00:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision branch-2 / 282a562 Default Java 1.7.0_121 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_111 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_121 findbugs v3.0.0 mvninstall https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs-client.txt mvninstall https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt compile https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-compile-hadoop-hdfs-project-jdk1.8.0_111.txt javac https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-compile-hadoop-hdfs-project-jdk1.8.0_111.txt compile https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-compile-hadoop-hdfs-project-jdk1.7.0_121.txt javac https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-compile-hadoop-hdfs-project-jdk1.7.0_121.txt mvnsite https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-client.txt mvnsite https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-findbugs-hadoop-hdfs-project_hadoop-hdfs-client.txt findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-findbugs-hadoop-hdfs-project_hadoop-hdfs.txt javadoc https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/diff-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdk1.8.0_111.txt javadoc https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/diff-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_111.txt javadoc https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/diff-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-client-jdk1.7.0_121.txt javadoc https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/diff-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_121.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-client-jdk1.7.0_121.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/17845/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_121.txt JDK v1.7.0_121 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/17845/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project Console output https://builds.apache.org/job/PreCommit-HDFS-Build/17845/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          Thanks Yiqun Lin for the comment and the patch.
          branch-2 are using Jackson 1 and 2 at the same time, so I thought probably branch-2 is using the deprecated APIs of Jackson 2. Therefore I asked you to provide a patch. However, branch-2 is actually using Jackson 1 APIs and is not using deprecated APIs of Jackson 2. I don't want to upgrade from Jackson1 to Jackson2 in this jira, so I'd like to close this issue. Thanks a lot!

          Show
          ajisakaa Akira Ajisaka added a comment - Thanks Yiqun Lin for the comment and the patch. branch-2 are using Jackson 1 and 2 at the same time, so I thought probably branch-2 is using the deprecated APIs of Jackson 2. Therefore I asked you to provide a patch. However, branch-2 is actually using Jackson 1 APIs and is not using deprecated APIs of Jackson 2. I don't want to upgrade from Jackson1 to Jackson2 in this jira, so I'd like to close this issue. Thanks a lot!

            People

            • Assignee:
              linyiqun Yiqun Lin
              Reporter:
              linyiqun Yiqun Lin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development