You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "John Zhuge (JIRA)" <ji...@apache.org> on 2017/04/20 01:36:04 UTC
[jira] [Created] (YARN-6501) FSSchedulerNode.java failed to build
with JDK7
John Zhuge created YARN-6501:
--------------------------------
Summary: FSSchedulerNode.java failed to build with JDK7
Key: YARN-6501
URL: https://issues.apache.org/jira/browse/YARN-6501
Project: Hadoop YARN
Issue Type: Bug
Components: resourcemanager
Affects Versions: 2.9.0
Reporter: John Zhuge
{noformat}
[ERROR] /Users/jzhuge/hadoop-commit/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSSchedulerNode.java:[183,18] cannot find symbol
[ERROR] symbol: method putIfAbsent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId,org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSAppAttempt)
[ERROR] location: variable appIdToAppMap of type java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSAppAttempt>
[ERROR] /Users/jzhuge/hadoop-commit/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSSchedulerNode.java:[184,29] cannot find symbol
[ERROR] symbol: method putIfAbsent(org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSAppAttempt,org.apache.hadoop.yarn.api.records.Resource)
[ERROR] location: variable resourcesPreemptedForApp of type java.util.Map<org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSAppAttempt,org.apache.hadoop.yarn.api.records.Resource>
{noformat}
{{Map#putIfAbsent}} is introduced in JDK8.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org