Changes between Version 2 and Version 3 of ComputeStartExample3
- Timestamp:
- 2010-11-09T15:46:02+01:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ComputeStartExample3
v2 v3 46 46 {{{ 47 47 48 public class RemoteGridGainStarter implements Callable<String>, Serializable 49 { 50 private static final String SUB = "qsub -q nodeslong /data/byelas/scripts/gridgain/resident_worker.sh"; 51 52 public String call() throws Exception 53 { 54 System.out.println(">>> start another gridgain"); 55 56 SysCommandExecutor cmdExecutor = new SysCommandExecutor(); 57 cmdExecutor.runCommand(SUB); 58 String cmdOutput = cmdExecutor.getCommandOutput(); 59 60 return cmdOutput; 61 } 62 } 63 48 64 }}} 49 65