979899100101102103104105
throw new ComException( "Master couldn't be found from cluster managed by " + from ); } finally { clusterManager.shutdown(); } } }
9899100101102103104105106107108
{ if ( cm != null ) { try { cm.shutdown(); } catch ( Throwable t ) { t.printStackTrace(); }
3738394041424344
// System.out.println( "Disconnected slaves" ); // for ( Machine info : clusterManager.getDisconnectedSlaves() ) // { // System.out.println( "\t" + info ); // } clusterManager.shutdown(); } }