ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [22/50] incubator-ignite git commit: ignite-882: test
Date Fri, 03 Jul 2015 09:36:33 GMT
ignite-882: test


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

Branch: refs/heads/ignite-882
Commit: 4ed0af3d64e3fb2c52136b4b1fa86319902b30ab
Parents: c6187a9
Author: Denis Magda <dmagda@gridgain.com>
Authored: Wed Jul 1 09:42:03 2015 +0300
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Wed Jul 1 09:42:03 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/configuration/IgniteConfiguration.java    | 5 +++++
 .../src/main/java/org/apache/ignite/internal/IgnitionEx.java    | 2 ++
 .../ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java     | 2 ++
 3 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4ed0af3d/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
index 2d36c7a..9318268 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
@@ -491,6 +491,9 @@ public class IgniteConfiguration {
         utilityCachePoolSize = cfg.getUtilityCacheThreadPoolSize();
         waitForSegOnStart = cfg.isWaitForSegmentOnStart();
         warmupClos = cfg.getWarmupClosure();
+
+        if (nodeId != null)
+            U.dumpStack(log, "New node UUID:" + nodeId);
     }
 
     /**
@@ -942,6 +945,8 @@ public class IgniteConfiguration {
      * @return {@code this} for chaining.
      */
     public IgniteConfiguration setNodeId(UUID nodeId) {
+        U.dumpStack(log, "Node ID: " + nodeId);
+
         this.nodeId = nodeId;
 
         return this;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4ed0af3d/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
index 5cbe377..cdcab91 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
@@ -1625,6 +1625,8 @@ public class IgnitionEx {
 
             UUID nodeId = cfg.getNodeId() != null ? cfg.getNodeId() : UUID.randomUUID();
 
+            U.debug("New UUID: " + nodeId + ", from cfg = " + (cfg.getNodeId() != null));
+
             myCfg.setNodeId(nodeId);
 
             IgniteLogger cfgLog = initLogger(cfg.getGridLogger(), nodeId);

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4ed0af3d/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
index 36ae39e..e192957 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryNode.java
@@ -154,6 +154,8 @@ public class TcpDiscoveryNode extends GridMetadataAwareAdapter implements
Cluste
         metrics = metricsProvider.metrics();
         cacheMetrics = metricsProvider.cacheMetrics();
         sockAddrs = U.toSocketAddresses(this, discPort);
+
+        U.dumpStack("Created NODE: " + id);
     }
 
     /**


Mime
View raw message