Optional. Maximum number of times per hour a driver can be restarted as a result of driver exiting with non-zero code before job is reported failed.
A job might be reported as thrashing if the driver exits with a non-zero code four times within a 10-minute window.
Maximum value is 10.
Note: This restartable job option is not supported in Dataproc workflow templates.
maxFailuresTotal
integer
Optional. Maximum total number of times a driver can be restarted as a result of the driver exiting with a non-zero code. After the maximum number is reached, the job will be reported as failed.
Maximum value is 240.
Note: Currently, this restartable job option is not supported in Dataproc workflow templates.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-20 UTC."],[[["\u003cp\u003eThe JSON representation defines job scheduling options with \u003ccode\u003emaxFailuresPerHour\u003c/code\u003e and \u003ccode\u003emaxFailuresTotal\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emaxFailuresPerHour\u003c/code\u003e specifies the maximum number of driver restarts per hour due to non-zero exit codes, with a maximum value of 10.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emaxFailuresTotal\u003c/code\u003e sets the total maximum number of driver restarts allowed before a job is reported as failed, with a maximum value of 240.\u003c/p\u003e\n"],["\u003cp\u003eBoth restartable job options are not supported in Dataproc workflow templates.\u003c/p\u003e\n"]]],[],null,[]]