Mercurial > hg > Database > Christie
changeset 95:5cd99bac9abd
update CreateTreeTopology refactor
author | akahori |
---|---|
date | Sat, 15 Sep 2018 19:00:49 +0900 |
parents | 87a203c99177 |
children | bf6ab64325f9 |
files | src/main/java/christie/topology/manager/CreateTreeTopology.java |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/christie/topology/manager/CreateTreeTopology.java Sat Sep 15 18:59:12 2018 +0900 +++ b/src/main/java/christie/topology/manager/CreateTreeTopology.java Sat Sep 15 19:00:49 2018 +0900 @@ -34,16 +34,14 @@ @Override protected void run(CodeGearManager cgm) { - System.out.println("cookie:" + MD5); + String nodeName = "node" + hostCount; - // Manager connect to Node - String newHostName = newHost.getHostName(); int newHostPort = newHost.getPort(); + cgm.createRemoteDGM(nodeName, newHostName, newHostPort); - getDGM(nodeName).put("nodeName", nodeName); getDGM(nodeName).put("cookie", MD5);