[ https://issues.apache.org/jira/browse/HADOOP-19329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896350#comment-17896350 ]
ASF GitHub Bot commented on HADOOP-19329: ----------------------------------------- hadoop-yetus commented on PR #7145: URL: https://github.com/apache/hadoop/pull/7145#issuecomment-2462432103 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |:----:|----------:|--------:|:--------:|:-------:| | +0 :ok: | reexec | 0m 47s | | Docker mode activated. | |||| _ Prechecks _ | | +1 :green_heart: | dupname | 0m 0s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 1s | | codespell was not available. | | +0 :ok: | detsecrets | 0m 1s | | detect-secrets was not available. | | +0 :ok: | xmllint | 0m 1s | | xmllint was not available. | | +0 :ok: | shelldocs | 0m 1s | | Shelldocs was not available. | | +1 :green_heart: | @author | 0m 0s | | The patch does not contain any @author tags. | | +1 :green_heart: | test4tests | 0m 0s | | The patch appears to include 1 new or modified test files. | |||| _ trunk Compile Tests _ | | +0 :ok: | mvndep | 15m 41s | | Maven dependency ordering for branch | | +1 :green_heart: | mvninstall | 37m 13s | | trunk passed | | +1 :green_heart: | compile | 19m 57s | | trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 | | +1 :green_heart: | compile | 21m 26s | | trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | +1 :green_heart: | checkstyle | 5m 52s | | trunk passed | | +1 :green_heart: | mvnsite | 27m 13s | | trunk passed | | +1 :green_heart: | javadoc | 12m 1s | | trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 | | +1 :green_heart: | javadoc | 8m 22s | | trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | +0 :ok: | spotbugs | 0m 19s | | branch/hadoop-project no spotbugs output file (spotbugsXml.xml) | | +0 :ok: | spotbugs | 0m 21s | | branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml) | | +0 :ok: | spotbugs | 0m 20s | | branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml) | | +1 :green_heart: | shadedclient | 78m 32s | | branch has no errors when building and testing our client artifacts. | |||| _ Patch Compile Tests _ | | +0 :ok: | mvndep | 0m 43s | | Maven dependency ordering for patch | | +1 :green_heart: | mvninstall | 58m 53s | | the patch passed | | +1 :green_heart: | compile | 19m 41s | | the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 | | +1 :green_heart: | javac | 19m 41s | | root-jdkUbuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 generated 0 new + 20 unchanged - 15 fixed = 20 total (was 35) | | +1 :green_heart: | compile | 20m 4s | | the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | +1 :green_heart: | javac | 20m 4s | | root-jdkPrivateBuild-1.8.0_422-8u422-b05-1~20.04-b05 with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 generated 0 new + 29 unchanged - 15 fixed = 29 total (was 44) | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | +1 :green_heart: | checkstyle | 5m 50s | | root: The patch generated 0 new + 1 unchanged - 7 fixed = 1 total (was 8) | | +1 :green_heart: | mvnsite | 21m 8s | | the patch passed | | +1 :green_heart: | shellcheck | 0m 0s | | No new issues. | | +1 :green_heart: | javadoc | 12m 7s | | the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 | | +1 :green_heart: | javadoc | 8m 42s | | the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | +0 :ok: | spotbugs | 0m 18s | | hadoop-project has no data from spotbugs | | +0 :ok: | spotbugs | 0m 24s | | hadoop-client-modules/hadoop-client-runtime has no data from spotbugs | | +0 :ok: | spotbugs | 0m 22s | | hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs | | +1 :green_heart: | shadedclient | 78m 38s | | patch has no errors when building and testing our client artifacts. | |||| _ Other Tests _ | | -1 :x: | unit | 762m 22s | [/patch-unit-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7145/4/artifact/out/patch-unit-root.txt) | root in the patch failed. | | +1 :green_heart: | asflicense | 1m 23s | | The patch does not generate ASF License warnings. | | | | 1233m 35s | | | | Reason | Tests | |-------:|:------| | Unreaped Processes | root:2 | | Failed junit tests | hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination | | Subsystem | Report/Notes | |----------:|:-------------| | Docker | ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7145/4/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/7145 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs | | uname | Linux 8bca32e8ad67 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / 778c237ec394d4e7d43993264f5acdf2e044ca2a | | Default Java | Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | Unreaped Processes Log | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7145/4/artifact/out/patch-unit-root-reaper.txt | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7145/4/testReport/ | | Max. process+thread count | 3538 (vs. ulimit of 5500) | | modules | C: hadoop-project hadoop-common-project/hadoop-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-minicluster . U: . | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7145/4/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0 | | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org | This message was automatically generated. > Remove usage of sun.misc.Signal > ------------------------------- > > Key: HADOOP-19329 > URL: https://issues.apache.org/jira/browse/HADOOP-19329 > Project: Hadoop Common > Issue Type: Bug > Components: build > Reporter: yanmin > Priority: Major > Labels: pull-request-available > > when we build hadoop in JDK11 runtime based on > [https://github.com/apache/hadoop/pull/7085,] JDK11 build is failing as > flowing due to: {{package sun.misc does not exist}} in. > > This is because that package sun.misc is not supported after jdk11. > {code:java} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile > (default-compile) on project hadoop-common: Compilation failure: Compilation > failure: > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[22,16] > package sun.misc does not exist > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[23,16] > package sun.misc does not exist > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[44,43] > cannot find symbol > [ERROR] symbol: class SignalHandler > [ERROR] location: class org.apache.hadoop.util.SignalLogger > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[46,19] > cannot find symbol > [ERROR] symbol: class SignalHandler > [ERROR] location: class org.apache.hadoop.util.SignalLogger.Handler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[59,24] > cannot find symbol > [ERROR] symbol: class Signal > [ERROR] location: class org.apache.hadoop.util.SignalLogger.Handler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[26,16] > package sun.misc does not exist > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[27,16] > package sun.misc does not exist > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[42,42] > cannot find symbol > [ERROR] symbol: class SignalHandler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[71,11] > cannot find symbol > [ERROR] symbol: class Signal > [ERROR] location: class org.apache.hadoop.service.launcher.IrqHandler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[126,22] > cannot find symbol > [ERROR] symbol: class Signal > [ERROR] location: class org.apache.hadoop.service.launcher.IrqHandler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/NativeIO.java:[48,16] > package sun.misc does not exist > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/FastByteComparisons.java:[27,16] > package sun.misc does not exist > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/FastByteComparisons.java:[134,20] > cannot find symbol > [ERROR] symbol: class Unsafe > [ERROR] location: class > org.apache.hadoop.io.FastByteComparisons.LexicographicalComparerHolder.UnsafeComparer > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[50,39] > cannot find symbol > [ERROR] symbol: class Signal > [ERROR] location: class org.apache.hadoop.util.SignalLogger.Handler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[50,21] > cannot find symbol > [ERROR] symbol: variable Signal > [ERROR] location: class org.apache.hadoop.util.SignalLogger.Handler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/SignalLogger.java:[58,5] > method does not override or implement a method from a supertype > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[92,20] > cannot find symbol > [ERROR] symbol: class Signal > [ERROR] location: class org.apache.hadoop.service.launcher.IrqHandler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[93,7] > cannot find symbol > [ERROR] symbol: variable Signal > [ERROR] location: class org.apache.hadoop.service.launcher.IrqHandler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[113,5] > cannot find symbol > [ERROR] symbol: variable Signal > [ERROR] location: class org.apache.hadoop.service.launcher.IrqHandler > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/launcher/IrqHandler.java:[125,3] > method does not override or implement a method from a supertype > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/NativeIO.java:[901,17] > cannot find symbol > [ERROR] symbol: class Unsafe > [ERROR] location: class org.apache.hadoop.io.nativeio.NativeIO > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/NativeIO.java:[903,7] > cannot find symbol > [ERROR] symbol: class Unsafe > [ERROR] location: class org.apache.hadoop.io.nativeio.NativeIO > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/NativeIO.java:[903,24] > cannot find symbol > [ERROR] symbol: class Unsafe > [ERROR] location: class org.apache.hadoop.io.nativeio.NativeIO > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/FastByteComparisons.java:[140,22] > cannot find symbol > [ERROR] symbol: class Unsafe > [ERROR] location: class > org.apache.hadoop.io.FastByteComparisons.LexicographicalComparerHolder.UnsafeComparer > [ERROR] > /hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/FastByteComparisons.java:[145,29] > cannot find symbol > [ERROR] symbol: class Unsafe > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <args> -rf :hadoop-common > {code} > related jira: https://issues.apache.org/jira/browse/HADOOP-19298 > > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org