You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/03/27 09:22:00 UTC
[jira] [Commented] (YARN-11803) Skip SecurityManager tests in TestJavaSandboxLinuxContainerRuntime when SecurityManager is not available
[ https://issues.apache.org/jira/browse/YARN-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938857#comment-17938857 ]
ASF GitHub Bot commented on YARN-11803:
---------------------------------------
stoty opened a new pull request, #7543:
URL: https://github.com/apache/hadoop/pull/7543
### Description of PR
Java 24 unconditionally throws SecurityException for securityManager.checkPermission().
Skip the test when SecurityException is thrown.
(For actual failed permissions checks AccessControlException is thrown)
### How was this patch tested?
Ran test withJava 24 and 17
### 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?
> Skip SecurityManager tests in TestJavaSandboxLinuxContainerRuntime when SecurityManager is not available
> --------------------------------------------------------------------------------------------------------
>
> Key: YARN-11803
> URL: https://issues.apache.org/jira/browse/YARN-11803
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Istvan Toth
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org