blob: cac094ee08536bf400c14a7d64c2b1d24cee2bab [file] [log] [blame]
<table class="configuration table table-bordered">
<thead>
<tr>
<th class="text-left" style="width: 20%">Key</th>
<th class="text-left" style="width: 15%">Default</th>
<th class="text-left" style="width: 10%">Type</th>
<th class="text-left" style="width: 55%">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><h5>restart-strategy</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>String</td>
<td>Defines the restart strategy to use in case of job failures.<br />Accepted values are:<ul><li><code class="highlighter-rouge">none</code>, <code class="highlighter-rouge">off</code>, <code class="highlighter-rouge">disable</code>: No restart strategy.</li><li><code class="highlighter-rouge">fixeddelay</code>, <code class="highlighter-rouge">fixed-delay</code>: Fixed delay restart strategy. More details can be found <a href="../../ops/state/task_failure_recovery#fixed-delay-restart-strategy">here</a>.</li><li><code class="highlighter-rouge">failurerate</code>, <code class="highlighter-rouge">failure-rate</code>: Failure rate restart strategy. More details can be found <a href="../../ops/state/task_failure_recovery#failure-rate-restart-strategy">here</a>.</li><li><code class="highlighter-rouge">exponentialdelay</code>, <code class="highlighter-rouge">exponential-delay</code>: Exponential delay restart strategy. More details can be found <a href="../../ops/state/task_failure_recovery#exponential-delay-restart-strategy">here</a>.</li></ul>If checkpointing is disabled, the default value is <code class="highlighter-rouge">none</code>. If checkpointing is enabled, the default value is <code class="highlighter-rouge">fixed-delay</code> with <code class="highlighter-rouge">Integer.MAX_VALUE</code> restart attempts and '<code class="highlighter-rouge">1 s</code>' delay.</td>
</tr>
</tbody>
</table>