[
https://issues.apache.org/jira/browse/HDFS-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941586#comment-17941586
]
ASF GitHub Bot commented on HDFS-17767:
---------------------------------------
Hexiaoqiao commented on code in PR #7566:
URL: https://github.com/apache/hadoop/pull/7566#discussion_r2031250158
##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java:
##########
@@ -576,26 +577,33 @@ public void run() {
//use SecurityManager to pause the copying of f1 and begin copying f2
SecurityManager sm = System.getSecurityManager();
Review Comment:
Thanks to involve me here. As #7567 mentioned, "System.getSecurityManager()
will also be one Deprecate APIs based on JEP-411, Would you mind to process it
together." Thanks. Others make sense to me.
> Skip tests that depend on custom SecurityManager when Java doesn't support it
> -----------------------------------------------------------------------------
>
> Key: HDFS-17767
> URL: https://issues.apache.org/jira/browse/HDFS-17767
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: test
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: pull-request-available
>
> TestDFSShell and TestDatanodeRegistration always fail because SecurityManager
> cannot be set on recent Java versions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]