[ https://issues.apache.org/jira/browse/HADOOP-18329?focusedWorklogId=789411&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-789411 ]
ASF GitHub Bot logged work on HADOOP-18329: ------------------------------------------- Author: ASF GitHub Bot Created on: 11/Jul/22 08:51 Start Date: 11/Jul/22 08:51 Worklog Time Spent: 10m Work Description: JackBuggins commented on code in PR #4537: URL: https://github.com/apache/hadoop/pull/4537#discussion_r917693008 ########## hadoop-common-project/hadoop-minikdc/src/test/java/org/apache/hadoop/minikdc/TestMiniKdc.java: ########## @@ -38,8 +38,19 @@ import java.util.Arrays; public class TestMiniKdc extends KerberosSecurityTestcase { - private static final boolean IBM_JAVA = System.getProperty("java.vendor") - .contains("IBM"); + private static final boolean USE_IBM_JAVA_PACKAGES = shouldUseIbmPackages(); Review Comment: Thanks again, I have implemented the change in [5eb229d](https://github.com/apache/hadoop/pull/4537/commits/5eb229d746e25c54f456da06419267ff6222d541) which required me to add the auth module as a test scoped dependency which was the initial reason I avoided doing this. It seemed as if there may have been a good reason not to based on the existing implementation. Issue Time Tracking ------------------- Worklog Id: (was: 789411) Remaining Estimate: 10m (was: 20m) Time Spent: 50m (was: 40m) > Add support for IBM Semeru OE JRE 11.0.15.0 and greater > ------------------------------------------------------- > > Key: HADOOP-18329 > URL: https://issues.apache.org/jira/browse/HADOOP-18329 > Project: Hadoop Common > Issue Type: Bug > Components: auth, common > Affects Versions: 3.0.0, 3.1.0, 3.0.1, 3.2.0, 3.0.2, 3.1.1, 3.0.3, 3.3.0, > 3.1.2, 3.2.1, 3.1.3, 3.1.4, 3.2.2, 3.3.1, 3.2.3, 3.3.2, 3.3.3 > Environment: Running Hadoop (or Apache Spark 3.2.1 or above) on IBM > Semeru runtimes open edition 11.0.15.0 or greater. > Reporter: Jack > Priority: Major > Labels: pull-request-available > Original Estimate: 1h > Time Spent: 50m > Remaining Estimate: 10m > > There are checks within the PlatformName class that use the Vendor property > of the provided runtime JVM specifically looking for `IBM` within the name. > Whilst this check worked for IBM's [java technology > edition|https://www.ibm.com/docs/en/sdk-java-technology] it fails to work on > [Semeru|https://developer.ibm.com/languages/java/semeru-runtimes/] since > 11.0.15.0 due to the following change: > h4. java.vendor system property > In this release, the {{java.vendor}} system property has been changed from > "International Business Machines Corporation" to "IBM Corporation". > Modules such as the below are not provided in these runtimes. > com.ibm.security.auth.module.JAASLoginModule -- 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