[
https://issues.apache.org/jira/browse/HADOOP-19890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080148#comment-18080148
]
ASF GitHub Bot commented on HADOOP-19890:
-----------------------------------------
hadoop-yetus commented on PR #8491:
URL: https://github.com/apache/hadoop/pull/8491#issuecomment-4425571979
:confetti_ball: **+1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 0m 55s | | Docker mode activated. |
|||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets 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 _ |
| +1 :green_heart: | mvninstall | 50m 37s | | trunk passed |
| +1 :green_heart: | compile | 1m 8s | | trunk passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | compile | 1m 12s | | trunk passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | checkstyle | 1m 16s | | trunk passed |
| +1 :green_heart: | mvnsite | 1m 41s | | trunk passed |
| +1 :green_heart: | javadoc | 1m 21s | | trunk passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javadoc | 1m 22s | | trunk passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | spotbugs | 1m 58s | | trunk passed |
| +1 :green_heart: | shadedclient | 35m 31s | | branch has no errors
when building and testing our client artifacts. |
|||| _ Patch Compile Tests _ |
| +1 :green_heart: | mvninstall | 0m 41s | | the patch passed |
| +1 :green_heart: | compile | 0m 40s | | the patch passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javac | 0m 40s | | the patch passed |
| +1 :green_heart: | compile | 0m 37s | | the patch passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | javac | 0m 37s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| +1 :green_heart: | checkstyle | 0m 28s | | hadoop-tools/hadoop-aws:
The patch generated 0 new + 0 unchanged - 1 fixed = 0 total (was 1) |
| +1 :green_heart: | mvnsite | 0m 43s | | the patch passed |
| +1 :green_heart: | javadoc | 0m 29s | | the patch passed with JDK
Ubuntu-21.0.10+7-Ubuntu-124.04 |
| +1 :green_heart: | javadoc | 0m 29s | | the patch passed with JDK
Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| +1 :green_heart: | spotbugs | 1m 24s | | the patch passed |
| +1 :green_heart: | shadedclient | 34m 53s | | patch has no errors
when building and testing our client artifacts. |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 3m 28s | | hadoop-aws in the patch passed.
|
| +1 :green_heart: | asflicense | 0m 37s | | The patch does not
generate ASF License warnings. |
| | | 143m 3s | | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.54 ServerAPI=1.54 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8491/2/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8491 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | Linux ced61c76316c 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13
18:41:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / 542ce78bd7590b6a52ea0bb9f29d645c4d96198a |
| Default Java | Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| Multi-JDK versions |
/usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.10+7-Ubuntu-124.04
/usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.18+8-Ubuntu-124.04.1 |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8491/2/testReport/ |
| Max. process+thread count | 570 (vs. ulimit of 10000) |
| modules | C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8491/2/console |
| versions | git=2.43.0 maven=3.9.15 spotbugs=4.9.7 |
| Powered by | Apache Yetus 0.14.1 https://yetus.apache.org |
This message was automatically generated.
> S3A isolated classloader test broken with JDK >=17
> --------------------------------------------------
>
> Key: HADOOP-19890
> URL: https://issues.apache.org/jira/browse/HADOOP-19890
> Project: Hadoop Common
> Issue Type: Test
> Components: fs/s3
> Affects Versions: 3.5.0
> Reporter: Aaron Fabbri
> Assignee: Aaron Fabbri
> Priority: Minor
> Labels: pull-request-available
>
> The S3A isolated classloader test appears to be broken with newer JDKs'
> restrictions on reflection access. The test fails with
> _java.lang.IllegalAccessException: Attempt to lookup caller-sensitive method
> using restricted lookup object_
> h3. Reproduction (same behavior w/ JDK 17 and 21):
> {{./mvnw -pl :hadoop-aws -am -Dtest=none
> -Dit.test=ITestS3AFileSystemIsolatedClassloader.java clean verify}}
>
> {{[ERROR]
> org.apache.hadoop.fs.s3a.ITestS3AFileSystemIsolatedClassloader.defaultIsolatedClassloader
> – Time elapsed: 0.301 s <<< ERROR!}}
> {{software.amazon.awssdk.thirdparty.org.apache.commons.logging.LogConfigurationException:
> java.lang.IllegalStateException: Could not invoke public final
> java.lang.ClassLoader java.lang.ClassLoader.getParent() on
> org.apache.hadoop.fs.s3a.ITestS3AFileSystemIsolatedClassloader$CustomClassLoader@2b62475a
> with arguments [] (Caused by java.lang.IllegalStateException: Could not
> invoke public final java.lang.ClassLoader java.lang.ClassLoader.getParent()
> on
> org.apache.hadoop.fs.s3a.ITestS3AFileSystemIsolatedClassloader$CustomClassLoader@2b62475a
> with arguments [])}}
> {{ at
> software.amazon.awssdk.thirdparty.org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:571)}}
> {{ at
> software.amazon.awssdk.thirdparty.org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)}}
> <snip>
> {{ at
> org.apache.hadoop.fs.s3a.ITestS3AFileSystemIsolatedClassloader.assertInNewFilesystem(ITestS3AFileSystemIsolatedClassloader.java:103)}}
> {{ at
> org.apache.hadoop.fs.s3a.ITestS3AFileSystemIsolatedClassloader.defaultIsolatedClassloader(ITestS3AFileSystemIsolatedClassloader.java:130)}}
> {{ at java.base/java.lang.reflect.Method.invoke(Method.java:580)}}
> {{ at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)}}
> {{ at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)}}
> {{Caused by: java.lang.IllegalStateException: Could not invoke public final
> java.lang.ClassLoader java.lang.ClassLoader.getParent() on
> org.apache.hadoop.fs.s3a.ITestS3AFileSystemIsolatedClassloader$CustomClassLoader@2b62475a
> with arguments []}}
> {{ at
> org.mockito.internal.util.reflection.InstrumentationMemberAccessor.invoke(InstrumentationMemberAccessor.java:255)}}
> {{ at
> org.mockito.internal.util.reflection.ModuleMemberAccessor.invoke(ModuleMemberAccessor.java:55)}}
> {{ at
> org.mockito.internal.creation.bytebuddy.MockMethodAdvice.tryInvoke(MockMethodAdvice.java:314)}}
> {{ at
> org.mockito.internal.creation.bytebuddy.MockMethodAdvice.access$500(MockMethodAdvice.java:64)}}
> {{ at
> org.mockito.internal.creation.bytebuddy.MockMethodAdvice$RealMethodCall.invoke(MockMethodAdvice.java:234)}}
> {{ at
> org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:142)}}
> {{ at
> org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:45)}}
> {{ at org.mockito.Answers.answer(Answers.java:90)}}
> {{ at}}
> {\{ <snip>}}
> {{
> software.amazon.awssdk.thirdparty.org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)}}
> {{ ... 23 more}}
> {{Caused by: java.lang.IllegalAccessException: Attempt to lookup
> caller-sensitive method using restricted lookup object}}
> {{ at
> java.base/java.lang.invoke.MethodHandles$Lookup.findBoundCallerLookup(MethodHandles.java:3815)}}
> {{ at
> java.base/java.lang.invoke.MethodHandles$Lookup.unreflect(MethodHandles.java:3451)}}
> {{ at
> org.mockito.internal.util.reflection.InstrumentationMemberAccessor.invoke(InstrumentationMemberAccessor.java:234)}}
> {{ ... 44 more}}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]