-package org.glite.lb;
import java.util.Random;
import org.glite.jobid.Jobid;
+import org.glite.lb.*;
/**
* This class shows how to work with ContextIL.
-package org.glite.lb;
import java.util.Random;
import org.glite.jobid.Jobid;
+import org.glite.lb.*;
/**
* This class shows how to work with ContextIL.
if (args.length != 12) {
System.out.println("How to use test class:\n" +
- "you have to set 13 arguments in this order, if the choice is optional \"\" or text has to be set:\n" +
+ "you have to set 12 arguments in this order, if the choice is optional \"\" or text has to be set:\n" +
"1. jobid in format \"https://somewhere:port/unique_part\" (required)\n" +
"2. source, enum constant from class Sources, determines which part of sequence code will be increased (required)\n" +
"3. flag (required)\n" +
"8. proxy server address (required)\n" +
"9. proxy server port, default value is 9002 (optional)\n" +
"10. path to user's certificate (required)\n" +
- "11. path to directory where will be saved files with logs until inter-logger sends the content.");
+ "11. path to directory where will be saved files with logs until inter-logger sends the content.\n" +
+ "12. worker node name for example event.");
} else {
/* Create new instance of jobid, you can use other constructors too (see org.glite.jobid.api_java.Jobid.java)
* Examples:
EXPIRES
COMMAND
CMDID
+ CALLEE
/;
SANDBOX_RETRIEVED
JW_STATUS
JDL_CLASSAD
+ CREAM_CANCEL_REASON
+ CREAM_CANCELING
+ CREAM_CPU_TIME
+ CREAM_DONE_CODE
+ CREAM_ENDPOINT
+ CREAM_EXIT_CODE
+ CREAM_JDL
+ CREAM_JW_STATUS
+ CREAM_LRMS_ID
+ CREAM_NODE
+ CREAM_OWNER
+ CREAM_REASON
+ CREAM_STATE
/;
EDG_WLL_SOURCE_LRMS,
EDG_WLL_SOURCE_APPLICATION,
EDG_WLL_SOURCE_LB_SERVER,
+ EDG_WLL_SOURCE_CREAM_CORE,
+ EDG_WLL_SOURCE_BLAH,
EDG_WLL_SOURCE__LAST /* marker, for internal use only */
} edg_wll_Source;
@type CREAMStore
int command Command to store
- _code_ CMDSTART Start registered job
- _code_ CMDCANCEL Cancel job
- _code_ CMDPURGE Purge request
- _code_ CMDSUSPEND Suspend running job
- _code_ CMDRESUME Resume suspended job
+ _code_ CMDSTART Start registered job
+ _code_ CMDCANCEL Cancel job
+ _code_ CMDPURGE Purge request
+ _code_ CMDSUSPEND Suspend running job
+ _code_ CMDRESUME Resume suspended job
string cmdid Id of the command in store
+ _optional_
int result store phase/result
_code_ START
_code_ OK
_code_ FAILED
-@type CREAMBlahCall Processing command and calling BLAH
+@type CREAMCall Processing command and calling BLAH or LRMS
+ logsrc callee
int command The command
string cmdid Id of the command, as stored previously
+ _optional_
+ int result
+ _code_ START
+ _code_ OK
+ _code_ FAIL
+ string reason
+ _optional_
+
+@type CREAMRuning
+ string node
+
+@type CREAMReallyRunning
+
+@type CREAMDone
+ int status_code
+ _code_ OK
+ _code_ FAILED
+ _code_ CANCELLED
+ _code_ KILLED
+ string reason
+ _optional_
+ int exit_code
+ _null_ -1
+
+@type CREAMCancel
+ int status_code
+ _code_ REQ
+ _code_ REFUSE
+ _code_ DONE
+ _code_ ABORT
+ string reason
+ _optional_
+
+@type CREAMAbort
+ string reason
_code_ COLLECTION parent of collection of jobs
_code_ PBS PBS job
_code_ CONDOR Condor job
+ _code_ CREAM CREAM job
jobid parent_job parent job of subjob
string seed string used for generation of subjob IDs
_pad_ 25
+int cream_state
+ _null_ -1
+ _code_ REGISTERED
+ _code_ PENDING
+ _code_ IDLE
+ _code_ RUNNING
+ _code_ REALLYRUNNING
+ _code_ HELD
+ _code_ DONEOK
+ _code_ DONEFAILED
+ _code_ ABORTED
+
+string cream_owner
+string cream_endpoint
+string cream_jdl
+string cream_reason
+string cream_lrms_id
+string cream_node
+int cream_done_code Uses done_code enum
+ _null_ -1
+int cream_exit_code
+bool cream_canceling
+string cream_cancel_reason
+int cream_cpu_time
+int cream_jw_status Users jw_status enum
+
@type Submitted Entered by the user to the User Interface or registered by Job Partitioner.
@type Waiting Accepted by WMS, waiting for resource allocation.
@type Ready Matching resources found.