Pentaho Data Integration - Kettle

Error reason from job steps

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Unknown Unknown
  • Resolution: Fixed
  • Affects Version/s: 4.0.0 GA
  • Fix Version/s: 4.0.0 GA
  • Component/s: Job, Job Entry
  • QA Validation Status:
    Not Yet Validated
  • Description:

    At the moment, if a job step fails, e.g. copy files, you can't actually capture the reason for failure. It would be nice if this reason could be made available, perhaps in a variable.. As i guess there's no stream for it to be put into at that point.

  1. error-log.kjb
    (16 kB)
    Matt Casters
    02/Mar/10 10:36 AM

Activity

Hide
Matt Casters added a comment - 01/Mar/10 6:08 AM
We can make it available as part of the Result object of a job entry.
Then you can do whatever you want with it in JavaScript.
Show
Matt Casters added a comment - 01/Mar/10 6:08 AM We can make it available as part of the Result object of a job entry. Then you can do whatever you want with it in JavaScript.
Hide
Matt Casters added a comment - 01/Mar/10 6:15 AM
The new logging architecture makes it a simple thing to pass the logging text of a job entry as part of the Result.
Show
Matt Casters added a comment - 01/Mar/10 6:15 AM The new logging architecture makes it a simple thing to pass the logging text of a job entry as part of the Result.
Matt Casters made changes - 01/Mar/10 6:15 AM
Field Original Value New Value
Component/s Job [ 10317 ]
Component/s Job Entry [ 10318 ]
Affects Version/s 4.0.0-M5 [ 10871 ]
Assignee Triage [ project admin ] Matt Casters [ mcasters ]
Hide
Matt Casters added a comment - 02/Mar/10 8:35 AM
Implemented in revision 12040.
For example, add a JavaScript job entry after a transformation:

------------
var logText = previous_result.getLogText();
parent_job.setVariable("LOG_TEXT", logText);

true;
------------

Then you can use that variable to do whatever you want, display a message box for testing.
Show
Matt Casters added a comment - 02/Mar/10 8:35 AM Implemented in revision 12040. For example, add a JavaScript job entry after a transformation: ------------ var logText = previous_result.getLogText(); parent_job.setVariable("LOG_TEXT", logText); true; ------------ Then you can use that variable to do whatever you want, display a message box for testing.
Matt Casters made changes - 02/Mar/10 8:35 AM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 4.0.0-M5 [ 10871 ]
Resolution Fixed [ 1 ]
Matt Casters made changes - 02/Mar/10 10:36 AM
Attachment error-log.kjb [ 19035 ]
Hide
Samatar Hassan added a comment - 02/Mar/10 10:43 AM
Since PDI-2980, job entry result is expored in transformations.
Show
Samatar Hassan added a comment - 02/Mar/10 10:43 AM Since PDI-2980, job entry result is expored in transformations.
Marc Batchelor made changes - 06/May/10 6:58 PM
Workflow Pentaho Engineering 6.0 Workflow [ 491245 ] Pentaho Engineering 7.0 Workflow [ 503485 ]
Marc Batchelor made changes - 04/Aug/10 10:21 PM
Workflow Pentaho Engineering 7.0 Workflow [ 503485 ] Pentaho Engineering 8.0 Workflow [ 525927 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
Open Open Resolved Resolved
1d 2h 38m
1
Matt Casters
02/Mar/10 8:35 AM

People

Dates

  • Created:
    01/Mar/10 5:56 AM
    Updated:
    02/Mar/10 10:43 AM
    Resolved:
    02/Mar/10 8:35 AM