[ 
https://issues.apache.org/jira/browse/HADOOP-18329?focusedWorklogId=788969&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788969
 ]

ASF GitHub Bot logged work on HADOOP-18329:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Jul/22 12:55
            Start Date: 08/Jul/22 12:55
    Worklog Time Spent: 10m 
      Work Description: JackBuggins opened a new pull request, #4537:
URL: https://github.com/apache/hadoop/pull/4537

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   
   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:
   
   **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 change attempts to use reflection to ensure that a class common to IBM 
JT runtimes exists, extending upon the vendor check, since IBM vendored JVM's 
may not actually require special logic to use custom security modules. The same 
3.3.3 versions were working correctly until the vendor name change was observed 
during routine upgrades by internal CI.
   
   ### How was this patch tested?
   
   CI + Unit test, some seemingly unrelated failures were observed relating to 
`java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;`
   
   ### For code changes:
   
   - [x] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 788969)
    Remaining Estimate: 50m  (was: 1h)
            Time Spent: 10m

> 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
>             Fix For: 3.3.3
>
>   Original Estimate: 1h
>          Time Spent: 10m
>  Remaining Estimate: 50m
>
> 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

Reply via email to