hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6381) FSAppAttempt has several variables that should be final
Date Thu, 23 Mar 2017 18:18:41 GMT
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message