Changes between Version 2 and Version 3 of ComputeStartExample3


Ignore:
Timestamp:
2010-11-09T15:46:02+01:00 (14 years ago)
Author:
george
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ComputeStartExample3

    v2 v3  
    4646{{{
    4747
     48public 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
    4864}}}
    4965