pentaho/pentaho-kettle — pull request #45 by prakapenka (2013-10-25 10:24:14+00:00)
Title: [PDI-9790] Job finishes successfully even though the logging process falls over

Changes:
1) engine/src/org/pentaho/di/job/Job.java
When write to log database failed, we add job tracker record to show failed job Metrics in Spoon.

2) engine/src/org/pentaho/di/job/entries/trans/JobEntryTrans.java
In current implementation there is a wait until transaction will finished, actually - flag is finished() can be set, but transaction still perform some finish actions. Fail during execution (number errors increase) can not be detected in concurrent execution inside JobEntryTrans. Wait period for transaction execution finish is increased now. In future this wait implementation may be refactored.

3) engine/src/org/pentaho/di/trans/Trans.java for finish transaction listeners exception thrown by one listener does not block others execution. Also for Trans.java direct access to AtomicBoolean is changed to setter method for better traceability in debugging.

4) Added localization message in case write to log database is failed. Only for EN messages file.

5) ui/src/org/pentaho/di/ui/spoon/job/JobGridDelegate.java
refresh time is really 2 seconds now.

6) added tests for all cases mentioned in PDI-9790