[ https://issues.apache.org/jira/browse/HDFS-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941767#comment-17941767 ]
ASF GitHub Bot commented on HDFS-17767: --------------------------------------- stoty commented on code in PR #7566: URL: https://github.com/apache/hadoop/pull/7566#discussion_r2032386035 ########## 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: Thank you, I've moved getSecurityManager inside the try block. > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org