incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baojian Zhou <baojian.zhou.b...@gmail.com>
Subject about starting the S4Node in for loop
Date Thu, 13 Jun 2013 03:47:35 GMT
when i started to  run the S4Node.class,  i have changed the main method to
a s4Node method and then invoke them 5 times. like this :

public static String[] commanderNode = new String[] { "-c", "cluster1" };
for (int i = 0; i < 5; i++) {
S4Node.s4Node(DeployFrameStream.commanderNode);
}

but it always stopped in the first invoke. And then i noticed:
signalOneAppLoaded.await();

how can i avoid this situation.

Mime
View raw message