Object Data and Result Data
Every Job has both object data - i.e. the data being processed - and result data.
Result data is the results of processing the job. Most of the time it is "null".
However, if some stage has an error while executing the job, or decides to attach a warning message to the job, the result data will contain this information.
Result data is returned back to the feeder of the job, which will often store the result information in a file or log file somewhere so it can be examined later by administrators - especially when looking for exception errors.
Therefore, it is sometimes useful to snapshot the job object data itself into the result data. Since the result is saved for later, snapshotting the job data itself into the result provides a way to view the object data as well.
Configuration
<component name="snapshotJobToResult" subType="snapshotJobToResult" factoryName="aspire-tools"/>
Output
The result will include:
- The job status
- The job ID
- The Java class name of the job object
- The submitter ID of the job
- The parent Job ID
- Subjob statistics
- Count of sub jobs
- Number of sub jobs which returned errors
- Number of sub jobs outstanding
- The current setting for the subjob wait timeout
Plus the job's entire AspireObject itself.