/
Disable Pipeline Task Retries
Disable Pipeline Task Retries
By default, pipelines will retry task failures to try and improve reliability. This is not always desired. For example, a sink may not be idempotent, or a transform may be making API calls that each cost money. In these scenarios, users may want to disable retries.
Disabling Task Retries
In the Pipeline detail page, open the Configuration menu.
In the Engine Config section, check if the pipeline is using MapReduce or Spark.
If the engine is Spark, in the Custom Config section, add a key for
spark.task.maxFailures
with1
as the value.If the engine is MapReduce, in the Custom Config section, add a key for
mapreduce.map.maxattempts
with1
as the value, and a key formapreduce.reduce.maxattempts
with1
as the value.