You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2018/04/23 10:02:12 UTC

ignite git commit: IGNITE-8191 Print out information when cluster is not activated

Repository: ignite
Updated Branches:
  refs/heads/master 25503ba1e -> 59a41cf03


IGNITE-8191 Print out information when cluster is not activated

Signed-off-by: Andrey Gura <ag...@apache.org>


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

Branch: refs/heads/master
Commit: 59a41cf036f8b9a9014aedc1c67295c5c7e07265
Parents: 25503ba
Author: Aleksey Plekhanov <pl...@gmail.com>
Authored: Mon Apr 23 12:55:25 2018 +0300
Committer: Andrey Gura <ag...@apache.org>
Committed: Mon Apr 23 12:55:25 2018 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/internal/IgniteKernal.java  | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/59a41cf0/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
index 53fcc83..0e0e655 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
@@ -2021,6 +2021,11 @@ public class IgniteKernal implements IgniteEx, IgniteMXBean, Externalizable {
 
             log.info(str);
         }
+
+        if (!cluster().active()) {
+            U.quietAndInfo(log, ">>> Ignite cluster is not active (limited functionality available). " +
+                "Use control.(sh|bat) script or IgniteCluster interface to activate.");
+        }
     }
 
     /**