hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From junping...@apache.org
Subject hadoop git commit: YARN-4400. AsyncDispatcher.waitForDrained should be final. Contributed by Daniel Templeton.
Date Wed, 23 Dec 2015 16:48:09 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 882f2f046 -> bb5df272b


YARN-4400. AsyncDispatcher.waitForDrained should be final. Contributed by Daniel Templeton.


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

Branch: refs/heads/trunk
Commit: bb5df272b9c0be9830ee8480cd33e75d26deb9d1
Parents: 882f2f0
Author: Junping Du <junping_du@apache.org>
Authored: Wed Dec 23 08:55:12 2015 -0800
Committer: Junping Du <junping_du@apache.org>
Committed: Wed Dec 23 08:55:12 2015 -0800

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                   | 3 +++
 .../main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/bb5df272/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index 0608aa8..d3f690e 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -1182,6 +1182,9 @@ Release 2.8.0 - UNRELEASED
     YARN-4477. FairScheduler: Handle condition which can result in an
     infinite loop in attemptScheduling. (Tao Jie via asuresh)
 
+    YARN-4400. AsyncDispatcher.waitForDrained should be final. (Daniel Templeton 
+    via junping_du)
+
 Release 2.7.3 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/bb5df272/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
index 403381b..ee6a637 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
@@ -59,7 +59,7 @@ public class AsyncDispatcher extends AbstractService implements Dispatcher
{
   // Indicates all the remaining dispatcher's events on stop have been drained
   // and processed.
   private volatile boolean drained = true;
-  private Object waitForDrained = new Object();
+  private final Object waitForDrained = new Object();
 
   // For drainEventsOnStop enabled only, block newly coming events into the
   // queue while stopping.


Mime
View raw message