[ https://issues.apache.org/jira/browse/HADOOP-19308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888656#comment-17888656 ]
ASF GitHub Bot commented on HADOOP-19308: ----------------------------------------- hadoop-yetus commented on PR #7112: URL: https://github.com/apache/hadoop/pull/7112#issuecomment-2407427241 :broken_heart: **-1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |:----:|----------:|--------:|:--------:|:-------:| | +0 :ok: | reexec | 17m 46s | | 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 :x: | 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. | |||| _ branch-3.4.0 Compile Tests _ | | +1 :green_heart: | mvninstall | 49m 18s | | branch-3.4.0 passed | | +1 :green_heart: | compile | 19m 42s | | branch-3.4.0 passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 | | +1 :green_heart: | compile | 17m 57s | | branch-3.4.0 passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | +1 :green_heart: | checkstyle | 1m 21s | | branch-3.4.0 passed | | +1 :green_heart: | mvnsite | 1m 44s | | branch-3.4.0 passed | | +1 :green_heart: | javadoc | 1m 17s | | branch-3.4.0 passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 | | +1 :green_heart: | javadoc | 0m 53s | | branch-3.4.0 passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | -1 :x: | spotbugs | 2m 36s | [/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7112/1/artifact/out/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html) | hadoop-common-project/hadoop-common in branch-3.4.0 has 1 extant spotbugs warnings. | | +1 :green_heart: | shadedclient | 41m 4s | | branch has no errors when building and testing our client artifacts. | |||| _ Patch Compile Tests _ | | +1 :green_heart: | mvninstall | 0m 56s | | the patch passed | | +1 :green_heart: | compile | 18m 50s | | the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 | | +1 :green_heart: | javac | 18m 50s | | the patch passed | | +1 :green_heart: | compile | 18m 1s | | the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | +1 :green_heart: | javac | 18m 1s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | -0 :warning: | checkstyle | 1m 13s | [/results-checkstyle-hadoop-common-project_hadoop-common.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7112/1/artifact/out/results-checkstyle-hadoop-common-project_hadoop-common.txt) | hadoop-common-project/hadoop-common: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0) | | +1 :green_heart: | mvnsite | 1m 44s | | the patch passed | | +1 :green_heart: | javadoc | 1m 12s | | the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 | | +1 :green_heart: | javadoc | 0m 54s | | the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05 | | +1 :green_heart: | spotbugs | 2m 43s | | the patch passed | | +1 :green_heart: | shadedclient | 41m 26s | | patch has no errors when building and testing our client artifacts. | |||| _ Other Tests _ | | +1 :green_heart: | unit | 19m 15s | | hadoop-common in the patch passed. | | +1 :green_heart: | asflicense | 1m 4s | | The patch does not generate ASF License warnings. | | | | 261m 55s | | | | Subsystem | Report/Notes | |----------:|:-------------| | Docker | ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7112/1/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/7112 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets | | uname | Linux 2eda308f0fb9 5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | branch-3.4.0 / 3db94c7ae56f9dc3079bb4966550ab93a6e5bc51 | | 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 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7112/1/testReport/ | | Max. process+thread count | 3137 (vs. ulimit of 5500) | | modules | C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7112/1/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 | | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org | This message was automatically generated. > FastSaslClientFactory failing to initialise due to NPE > ------------------------------------------------------ > > Key: HADOOP-19308 > URL: https://issues.apache.org/jira/browse/HADOOP-19308 > Project: Hadoop Common > Issue Type: Bug > Components: common, security > Affects Versions: 3.4.0, 3.3.6, 3.4.1, 3.4.2 > Environment: RHEL9 > Reporter: Abhey Rana > Priority: Critical > Labels: pull-request-available > Attachments: stacktrace.txt > > Original Estimate: 96h > Remaining Estimate: 96h > > FastSaslClientFactory is instantiated in both SaslRpcClient and > SaslParticipant as new FastSaslClientFactory(null) > In its constructor FastSaslClientFactory loads all the SaslFactories using > Sasl.getSaslClientFactories(); > Then it iterates through all the loaded factories and calls getMechanismNames > method. > The null argument sent in the constructor is sent to the getMechanismNames > call. > In some-cases, a loaded factory might not handle this null argument and might > throw a NPE. > This can cause the entire FastSaslClientFactory to not instantiate leading to > failure while instantiation of SaslRpcClient. > Code Pointer - > [https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/FastSaslClientFactory.java#L43] > Stack Trace - > {code:java} > Cause3: java.lang.ExceptionInInitializerError: Exception > java.lang.NullPointerException [in thread > "ServiceScheduler:GridforceSfdcLogUploaderProcess"] Cause3-StackTrace: at > org.apache.qpid.client.security.amqplain.AmqPlainSaslClientFactory.getMechanismNames(AmqPlainSaslClientFactory.java:50) > at > org.apache.hadoop.security.FastSaslClientFactory.<init>(FastSaslClientFactory.java:47) > at > org.apache.hadoop.security.SaslRpcClient.<clinit>(SaslRpcClient.java:106) at > org.apache.hadoop.ipc.Client$Connection.setupSaslConnection(Client.java:559) > at org.apache.hadoop.ipc.Client$Connection.access$2100(Client.java:347) at > org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:783) at > org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:779) at > java.base/java.security.AccessController.doPrivileged(AccessController.java:712) > at java.base/javax.security.auth.Subject.doAs(Subject.java:439) at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1899) > at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:779) > at org.apache.hadoop.ipc.Client$Connection.access$3800(Client.java:347) at > org.apache.hadoop.ipc.Client.getConnection(Client.java:1632) at > org.apache.hadoop.ipc.Client.call(Client.java:1457) at > org.apache.hadoop.ipc.Client.call(Client.java:1410) at > org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:258) > at > org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:139) > at jdk.proxy2/jdk.proxy2.$Proxy1500.getFileInfo(Unknown Source) at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.lambda$getFileInfo$41(ClientNamenodeProtocolTranslatorPB.java:811) > at > org.apache.hadoop.ipc.internal.ShadedProtobufHelper.ipc(ShadedProtobufHelper.java:160) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:811) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > ... 23 shared with parent` {code} -- 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