ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #ignite-yardstick-client Added debug info.
Date Wed, 24 Jun 2015 12:07:58 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-yardstick-client be6c9d475 -> 5d1a2cea3


#ignite-yardstick-client Added debug info.


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

Branch: refs/heads/ignite-yardstick-client
Commit: 5d1a2cea3322e060be9a06efa41657b1724ac232
Parents: be6c9d4
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Authored: Wed Jun 24 15:07:56 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Wed Jun 24 15:07:56 2015 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/yardstick/IgniteNode.java | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5d1a2cea/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
index 184d1d3..a04041a 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
@@ -72,7 +72,11 @@ public class IgniteNode implements BenchmarkServer {
 
         IgniteConfiguration c = loadConfiguration(args.configuration());
 
-        c.setGridName(String.valueOf(idSeq.incrementAndGet()));
+        UUID uuid = UUID.randomUUID();
+
+        c.setNodeId(uuid);
+
+        c.setGridName("node-" + uuid.toString());
 
         assert c != null;
 
@@ -134,6 +138,7 @@ public class IgniteNode implements BenchmarkServer {
 
         commSpi.setLocalPortRange(200);
         commSpi.setSocketWriteTimeout(30_000);
+        commSpi.setSharedMemoryPort(-1);
 
         TcpDiscoverySpi spi = (TcpDiscoverySpi)c.getDiscoverySpi();
 


Mime
View raw message