You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2018/01/15 15:03:54 UTC
[2/4] flink git commit: [hotfix][docs] Mention maven dependency for
RocksDB state backend
[hotfix][docs] Mention maven dependency for RocksDB state backend
This closes #5293.
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/5623ac66
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/5623ac66
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/5623ac66
Branch: refs/heads/master
Commit: 5623ac66bd145d52f3488ac2fff9dbc762d0bda1
Parents: 4e0ca93
Author: Robert Metzger <rm...@apache.org>
Authored: Sat Jan 13 12:06:58 2018 +0100
Committer: zentol <ch...@apache.org>
Committed: Mon Jan 15 16:03:27 2018 +0100
----------------------------------------------------------------------
docs/ops/state/state_backends.md | 11 +++++++++++
1 file changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/5623ac66/docs/ops/state/state_backends.md
----------------------------------------------------------------------
diff --git a/docs/ops/state/state_backends.md b/docs/ops/state/state_backends.md
index 00e3c4f..76e82a7 100644
--- a/docs/ops/state/state_backends.md
+++ b/docs/ops/state/state_backends.md
@@ -94,6 +94,17 @@ The FsStateBackend is encouraged for:
### The RocksDBStateBackend
+<div class="alert alert-warning">
+ <strong>Note:</strong> The RocksDBStateBackend is not part of the default Flink distribution. To use the state backend, you need to add the following Maven dependency to your project:
+ {% highlight xml %}
+<dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-statebackend-rocksdb{{ site.scala_version_suffix }}</artifactId>
+ <version>{{site.version}}</version>
+</dependency>
+ {% endhighlight %}
+</div>
+
The *RocksDBStateBackend* is configured with a file system URL (type, address, path), such as "hdfs://namenode:40010/flink/checkpoints" or "file:///data/flink/checkpoints".
The RocksDBStateBackend holds in-flight data in a [RocksDB](http://rocksdb.org) database