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/04/01 08:56:00 UTC
[jira] [Commented] (YARN-11806) Skip tests that depend on custom SecurityManager when Java doesn't support it
[ https://issues.apache.org/jira/browse/YARN-11806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939982#comment-17939982 ]
ASF GitHub Bot commented on YARN-11806:
---------------------------------------
stoty opened a new pull request, #7568:
URL: https://github.com/apache/hadoop/pull/7568
### Description of PR
Setting SecurityManager is not possible on recent Java versions.
Skip the affected tests instead of erroring out in this case.
### How was this patch tested?
Tested on my JDK24 branch for JDK24, CI for JDK8.
### 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 tests that depend on custom SecurityManager when Java doesn't support it
> -----------------------------------------------------------------------------
>
> Key: YARN-11806
> URL: https://issues.apache.org/jira/browse/YARN-11806
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: test
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
>
> TestCGroupsHandlerImpl and TestCapacitySchedulerAsyncScheduling both include tests that depend on setting custom a SecurityManger which is no longer possible on recent Java versions.
--
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