You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by do...@apache.org on 2015/11/20 20:10:48 UTC

incubator-reef git commit: [REEF-981] Adjust logging in ResourceManageStatus#isLegalStateTransition

Repository: incubator-reef
Updated Branches:
  refs/heads/master 2e3e40f5c -> 9e322c9f8


[REEF-981] Adjust logging in ResourceManageStatus#isLegalStateTransition

This patch:
  * Decreases the level of the logging statement in isLegalStateTransition()
    from 'warning' to 'finest'

JIRA:
  [REEF-981] (https://issues.apache.org/jira/browse/REEF-981)

Pull Request:
  This closes #663


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

Branch: refs/heads/master
Commit: 9e322c9f834f187b4416f1ac4dac8ac2c906e409
Parents: 2e3e40f
Author: sergey.dudoladov@tu-berlin.de <se...@tu-berlin.de>
Authored: Fri Nov 20 11:39:17 2015 +0100
Committer: Dongjoon Hyun <do...@apache.org>
Committed: Sat Nov 21 04:09:54 2015 +0900

----------------------------------------------------------------------
 .../common/driver/resourcemanager/ResourceManagerStatus.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/9e322c9f/lang/java/reef-common/src/main/java/org/apache/reef/runtime/common/driver/resourcemanager/ResourceManagerStatus.java
----------------------------------------------------------------------
diff --git a/lang/java/reef-common/src/main/java/org/apache/reef/runtime/common/driver/resourcemanager/ResourceManagerStatus.java b/lang/java/reef-common/src/main/java/org/apache/reef/runtime/common/driver/resourcemanager/ResourceManagerStatus.java
index 37fb39e..68d7594 100644
--- a/lang/java/reef-common/src/main/java/org/apache/reef/runtime/common/driver/resourcemanager/ResourceManagerStatus.java
+++ b/lang/java/reef-common/src/main/java/org/apache/reef/runtime/common/driver/resourcemanager/ResourceManagerStatus.java
@@ -160,7 +160,7 @@ public final class ResourceManagerStatus implements EventHandler<RuntimeStatusEv
 
     // handle diagonal elements of the transition matrix
     if (from.equals(to)){
-      LOG.warning("Transition from " + from + " state to the same state. This shouldn't happen.");
+      LOG.finest("Transition from " + from + " state to the same state.");
       return true;
     }