The frontline support team will be unavailable to answer questions on April 15th and 17th 2019. We will be back soon after. Thank you for your patience and we apologize for any inconvenience!

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.