JackBuggins opened a new pull request, #5208:
URL: https://github.com/apache/hadoop/pull/5208
<!--
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
Applies patches provided in to branch-3.3 via cherry-picking a merge commit
of the proposed changes, eg.
```
git cherry-pick a46b20d25f12dfb6af1d89c6bd8e39220cc8c928 -m 1
```
The original change request can be found at
https://github.com/apache/hadoop/pull/4537
---
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
### How was this patch tested?
- C.I
### 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?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]