Using

I have a some jobs and transformations that I have moved from my development server to a test server and I inadvertently hard coded a "Filename" into a "Text file output" object. The path does not exit on the test server.

I know how to solve the problem, I will pass in the "Filename" via a properties file.

But my larger question is how to I detect an error in general and have the job abort. I have the transformation as part of a job already with an active hop to an "Abort Job" that should be followed
when the result is false (I assume and error is equivalent to false. )

The log shows the following:



INFO 20-11 13:58:22,439 - Text file output - We can not find parent folder [file:///home/peterd/Pentaho/tmp]!
ERROR 20-11 13:58:22,447 - Text file output - Unexpected error
ERROR 20-11 13:58:22,448 - Text file output - org.pentaho.di.core.exception.KettleException:
Error opening new file : org.apache.commons.vfs.FileSystemException: Could not create folder "file:///home/peterd".


at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.openNewFile(TextFileOutput.java:691)
at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.processRow(TextFileOutput.java:116)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
at java.lang.Thread.run(Thread.java:679)


ERROR 20-11 13:58:22,448 - trAutoCollect - Errors detected!
ERROR 20-11 13:58:22,448 - trAutoCollect - Errors detected!
DEBUG 20-11 13:58:22,449 - Billing - Statement canceled!
DEBUG 20-11 13:58:22,449 - Add serial value - Stopped while putting a row on the buffer
DEBUG 20-11 13:58:22,449 - Billing - Statement canceled!
DEBUG 20-11 13:58:22,449 - Get Variables - Signaling 'output done' to 1 output rowsets.
INFO 20-11 13:58:22,450 - Get Variables - Finished processing (I=0, O=0, R=2, W=2, U=0, E=0)
DEBUG 20-11 13:58:22,450 - Billing - Statement canceled!
DEBUG 20-11 13:58:22,450 - Billing - Statement canceled!
DEBUG 20-11 13:58:22,450 - Add serial value - Wrote row 1 : [8867772], [1787536], [ 47538]
INFO 20-11 13:58:22,451 - Add serial value - Finished processing (I=0, O=0, R=2, W=1, U=0, E=0)
DEBUG 20-11 13:58:22,451 - Billing - Statement canceled!
DEBUG 20-11 13:58:22,451 - Billing - Statement canceled!
INFO 20-11 13:58:22,451 - Text file output - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)
INFO 20-11 13:58:22,452 - trAutoCollect - trAutoCollect
INFO 20-11 13:58:22,452 - trAutoCollect - trAutoCollect
DEBUG 20-11 13:58:22,453 - trAutoCollect - Looking at step: Add serial value
INFO 20-11 13:58:22,449 - Get EBO - Finished reading query, closing connection.
DEBUG 20-11 13:58:22,449 - Add update time - Signaling 'output done' to 1 output rowsets.
INFO 20-11 13:58:22,454 - Add update time - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
DEBUG 20-11 13:58:22,449 - Add update user - Signaling 'output done' to 1 output rowsets.
INFO 20-11 13:58:22,455 - Add update user - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
DEBUG 20-11 13:58:22,452 - Table output - Signaling 'output done' to 0 output rowsets.
DEBUG 20-11 13:58:22,474 - trAutoCollect - Looking at step: Add update user
DEBUG 20-11 13:58:22,494 - Billing - Commit on database connection [Billing]
DEBUG 20-11 13:58:22,495 - trAutoCollect - Looking at step: Add update time
INFO 20-11 13:58:22,497 - Billing - Connection to database closed!
INFO 20-11 13:58:22,497 - Table output - Finished processing (I=0, O=0, R=0, W=0, U=0, E=0)
DEBUG 20-11 13:58:22,515 - trAutoCollect - Looking at step: Text file output
DEBUG 20-11 13:58:22,535 - trAutoCollect - Looking at step: Get EBO
DEBUG 20-11 13:58:22,555 - trAutoCollect - Looking at step: Get Variables
DEBUG 20-11 13:58:22,576 - trAutoCollect - Looking at step: Table output


This is where kitchen.sh just hangs.
What am I missing?

Thanks
Peter


pdi-ce-4.4.0-stable
java jdk1.6.0_29
ubuntu 12.04 LTS (32 bit)