Update: July 26, 2019

Easy error catching solution?

dplichtadplichta Member

In Google cloud, I just ran a task that simply concatenates many files into a single big file using unix "cat" command, but the machine I requested had too little space. The following happened:
1) In the log, that task was marked as successful ("Status change from Running to Success")
2) The workflow failed ("cat: write error: No space left on device")

The task contained a following command section:

command <<<
                cat ${sep=' ' arrayFiles} > combinedFiles.txt

A. How to catch the "cat" / another command fails and make sure that the task is marked as Failed?
B. What will the call catching entry in the mysql table be for this task? Success / Failure?

Thanks, Damian

Best Answer


Sign In or Register to comment.