blob: 00a29589d78294d067770c41ceef056cfd9cd038 [file] [log] [blame]
<table class="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: 65%">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><h5>state.backend</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>The state backend to be used to store and checkpoint state. Supported values are 'jobmanager' for MemoryStateBackend, 'filesystem' for FsStateBackend, and 'rocksdb' for RocksDBStateBackend.</td>
</tr>
<tr>
<td><h5>state.backend.async</h5></td>
<td style="word-wrap: break-word;">true</td>
<td>Option whether the state backend should use an asynchronous snapshot method where possible and configurable. Some state backends may not support asynchronous snapshots, or only support asynchronous snapshots, and ignore this option.</td>
</tr>
<tr>
<td><h5>state.backend.fs.memory-threshold</h5></td>
<td style="word-wrap: break-word;">1024</td>
<td>The minimum size of state data files. All state chunks smaller than that are stored inline in the root checkpoint metadata file.</td>
</tr>
<tr>
<td><h5>state.backend.incremental</h5></td>
<td style="word-wrap: break-word;">false</td>
<td>Option whether the state backend should create incremental checkpoints, if possible. For an incremental checkpoint, only a diff from the previous checkpoint is stored, rather than the complete checkpoint state. Some state backends may not support incremental checkpoints and ignore this option.</td>
</tr>
<tr>
<td><h5>state.backend.local-recovery</h5></td>
<td style="word-wrap: break-word;">false</td>
<td></td>
</tr>
<tr>
<td><h5>state.backend.rocksdb.localdir</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>The local directory (on the TaskManager) where RocksDB puts its files.</td>
</tr>
<tr>
<td><h5>state.backend.working-dirs</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>The working directories for file-based state backend.</td>
</tr>
<tr>
<td><h5>state.checkpoints.create-subdirs</h5></td>
<td style="word-wrap: break-word;">true</td>
<td>Whether to create sub-directories with specific jobId to store the data files and meta data of checkpoints. The default value is true to enable user could run several jobs with the same checkpoint directory simultaneously, if this value is set to false, pay attention to not run several jobs with the same directory simultaneously.</td>
</tr>
<tr>
<td><h5>state.checkpoints.dir</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>The default directory used for storing the data files and meta data of checkpoints in a Flink supported filesystem. The storage path must be accessible from all participating processes/nodes(i.e. all TaskManagers and JobManagers).</td>
</tr>
<tr>
<td><h5>state.checkpoints.num-retained</h5></td>
<td style="word-wrap: break-word;">1</td>
<td>The maximum number of completed checkpoints to retain.</td>
</tr>
<tr>
<td><h5>state.savepoints.dir</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>The default directory for savepoints. Used by the state backends that write savepoints to file systems (MemoryStateBackend, FsStateBackend, RocksDBStateBackend).</td>
</tr>
<tr>
<td><h5>taskmanager.state.local.root-dirs</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td></td>
</tr>
</tbody>
</table>