Project: springxd
Issue XD-2779: Fix error handling in jdbchdfs job 
The jdbchdfs job keeps the output stream open in case of error writing to HDFS. We should improve this and close it plus throw an exception. We should also make sure the step is marked as failed instead of complete when an exception is thrown in the writer.
Story points: 3