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 "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/03/23 18:18:41 UTC

[jira] [Created] (YARN-6381) FSAppAttempt has several variables that should be final

Daniel Templeton created YARN-6381:
--------------------------------------

             Summary: FSAppAttempt has several variables that should be final
                 Key: YARN-6381
                 URL: https://issues.apache.org/jira/browse/YARN-6381
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: fairscheduler
    Affects Versions: 3.0.0-alpha2
            Reporter: Daniel Templeton
            Assignee: Daniel Templeton


These should all be final:

{code}
  private long startTime;
  private Priority appPriority;
  private ResourceWeights resourceWeights;
  private FairScheduler scheduler;
  private Map<String, Set<String>> reservations = new HashMap<>();
  private List<FSSchedulerNode> blacklistNodeIds = new ArrayList<>();
{code}



--
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