hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From templ...@apache.org
Subject hadoop git commit: YARN-6410. FSContext.scheduler should be final (Contributed by Yeliang Cang via Daniel Templeton)
Date Sun, 09 Jul 2017 10:38:04 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk c5a0c38d8 -> 9d2788044


YARN-6410. FSContext.scheduler should be final (Contributed by Yeliang Cang via Daniel Templeton)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/9d278804
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9d278804
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9d278804

Branch: refs/heads/trunk
Commit: 9d278804425f0118b590d302985408e0794b88bb
Parents: c5a0c38
Author: Daniel Templeton <templedf@apache.org>
Authored: Sun Jul 9 19:34:35 2017 +0900
Committer: Daniel Templeton <templedf@apache.org>
Committed: Sun Jul 9 19:34:35 2017 +0900

----------------------------------------------------------------------
 .../yarn/server/resourcemanager/scheduler/fair/FSContext.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/9d278804/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSContext.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSContext.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSContext.java
index a4aa8f4..eb76ca3 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSContext.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FSContext.java
@@ -29,7 +29,7 @@ public class FSContext {
   private boolean preemptionEnabled = false;
   private float preemptionUtilizationThreshold;
   private FSStarvedApps starvedApps;
-  private FairScheduler scheduler;
+  private final FairScheduler scheduler;
 
   FSContext(FairScheduler scheduler) {
     this.scheduler = scheduler;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message