[jira] [Comment Edited] (MAPREDUCE-7332) Fix SpillCallBackPathsFinder to use JDK7 on branch-2.10
[ https://issues.apache.org/jira/browse/MAPREDUCE-7332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308974#comment-17308974 ] Jim Brennan edited comment on MAPREDUCE-7332 at 3/25/21, 9:11 PM: -- [~aajisaka] do you know why this failure happens? {noformat} Re-exec mode detected. Continuing. ERROR: Unprocessed flag(s): --spotbugs-strict-precheck {noformat} was (Author: jim_brennan): [~aajisaka] do you know why this failure happens? {noformat} Re-exec mode detected. Continuing. ERROR: Unprocessed flag(s): --spotbugs-strict-precheck {noformat} > Fix SpillCallBackPathsFinder to use JDK7 on branch-2.10 > --- > > Key: MAPREDUCE-7332 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7332 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: job submission, security >Reporter: Ahmed Hussein >Assignee: Ahmed Hussein >Priority: Minor > Attachments: MAPREDUCE-7332.branch-2.10.001.patch > > > I mistakenly uploaded a patch for branch-2.10 that uses JDK8. > Yetus did not fail though. It should be investigated why it was not failing > if JDK8+ is used in the code. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org
[jira] [Comment Edited] (MAPREDUCE-7332) Fix SpillCallBackPathsFinder to use JDK7 on branch-2.10
[ https://issues.apache.org/jira/browse/MAPREDUCE-7332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308092#comment-17308092 ] Ahmed Hussein edited comment on MAPREDUCE-7332 at 3/24/21, 6:42 PM: {code:bash} [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [ERROR] /hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/security/SpillCallBackPathsFinder.java:184: Undefined reference: java.util.concurrent.ConcurrentHashMap.KeySetView [ERROR] hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/security/SpillCallBackPathsFinder.java:184: Undefined reference: java.util.concurrent.ConcurrentHashMap.KeySetView java.util.concurrent.ConcurrentHashMap.keySet() {code} The root cause of the problem is that {{ConcurrentHashMap.keySet()}} changed between JDK7 and JDK8 . A runtime error is thrown if branch-2.10 is compiled using JDK8. branch-2.10 fails if it is compiled without {{-Danimal.sniffer.skip}} was (Author: ahussein): {code:bash} [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [ERROR] /hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/security/SpillCallBackPathsFinder.java:184: Undefined reference: java.util.concurrent.ConcurrentHashMap.KeySetView [ERROR] hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/security/SpillCallBackPathsFinder.java:184: Undefined reference: java.util.concurrent.ConcurrentHashMap.KeySetView java.util.concurrent.ConcurrentHashMap.keySet() {code} The root cause of the problem is that {{ConcurrentHashMap.keySet()}} changed between JDK7 and JDK8 . branch-2.10 fails if it is compiled without {{-Danimal.sniffer.skip}} > Fix SpillCallBackPathsFinder to use JDK7 on branch-2.10 > --- > > Key: MAPREDUCE-7332 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7332 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: job submission, security >Reporter: Ahmed Hussein >Assignee: Ahmed Hussein >Priority: Major > > I mistakenly uploaded a patch for branch-2.10 that uses JDK8. > Yetus did not fail though. It should be investigated why it was not failing > if JDK8+ is used in the code. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org