You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2020/08/18 07:11:30 UTC
[flink] branch master updated: [hotfix][docs] Replaced outdated
'RocksDBStateBackend.setOptions(..)' by
'RocksDBStateBackend.setRocksDBOptions(..)' and fixed typo in parameter
list (PptionsFactory -> RocksDBOptionsFactory).
This is an automated email from the ASF dual-hosted git repository.
trohrmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 74af5f8 [hotfix][docs] Replaced outdated 'RocksDBStateBackend.setOptions(..)' by 'RocksDBStateBackend.setRocksDBOptions(..)' and fixed typo in parameter list (PptionsFactory -> RocksDBOptionsFactory).
74af5f8 is described below
commit 74af5f84b2de9c48bc356ab03bbb83e16b621269
Author: Matthias Pohl <ma...@ververica.com>
AuthorDate: Tue Aug 18 08:30:28 2020 +0200
[hotfix][docs] Replaced outdated 'RocksDBStateBackend.setOptions(..)' by 'RocksDBStateBackend.setRocksDBOptions(..)' and fixed typo in parameter list (PptionsFactory -> RocksDBOptionsFactory).
This closes #13185.
---
docs/ops/config.md | 2 +-
docs/ops/config.zh.md | 2 +-
docs/ops/state/state_backends.md | 2 +-
docs/ops/state/state_backends.zh.md | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/ops/config.md b/docs/ops/config.md
index 23103eb..26a68ed 100644
--- a/docs/ops/config.md
+++ b/docs/ops/config.md
@@ -314,7 +314,7 @@ Advanced options to tune RocksDB and RocksDB checkpoints.
**RocksDB Configurable Options**
These options give fine-grained control over the behavior and resoures of ColumnFamilies.
-With the introduction of `state.backend.rocksdb.memory.managed` and `state.backend.rocksdb.memory.fixed-per-slot` (Apache Flink 1.10), it should be only necessary to use the options here for advanced performance tuning. These options here can also be specified in the application program via `RocksDBStateBackend.setOptions(PptionsFactory)`.
+With the introduction of `state.backend.rocksdb.memory.managed` and `state.backend.rocksdb.memory.fixed-per-slot` (Apache Flink 1.10), it should be only necessary to use the options here for advanced performance tuning. These options here can also be specified in the application program via `RocksDBStateBackend.setRocksDBOptions(RocksDBOptionsFactory)`.
{% include generated/rocksdb_configurable_configuration.html %}
diff --git a/docs/ops/config.zh.md b/docs/ops/config.zh.md
index 8d5560c..9d9f3e9 100644
--- a/docs/ops/config.zh.md
+++ b/docs/ops/config.zh.md
@@ -314,7 +314,7 @@ Advanced options to tune RocksDB and RocksDB checkpoints.
**RocksDB Configurable Options**
These options give fine-grained control over the behavior and resoures of ColumnFamilies.
-With the introduction of `state.backend.rocksdb.memory.managed` and `state.backend.rocksdb.memory.fixed-per-slot` (Apache Flink 1.10), it should be only necessary to use the options here for advanced performance tuning. These options here can also be specified in the application program via `RocksDBStateBackend.setOptions(PptionsFactory)`.
+With the introduction of `state.backend.rocksdb.memory.managed` and `state.backend.rocksdb.memory.fixed-per-slot` (Apache Flink 1.10), it should be only necessary to use the options here for advanced performance tuning. These options here can also be specified in the application program via `RocksDBStateBackend.setRocksDBOptions(RocksDBOptionsFactory)`.
{% include generated/rocksdb_configurable_configuration.html %}
diff --git a/docs/ops/state/state_backends.md b/docs/ops/state/state_backends.md
index f750a5d..6b0ae0e 100644
--- a/docs/ops/state/state_backends.md
+++ b/docs/ops/state/state_backends.md
@@ -290,7 +290,7 @@ There are two ways to pass a RocksDBOptionsFactory to the RocksDB State Backend:
- Configure options factory class name in the `flink-conf.yaml` via `state.backend.rocksdb.options-factory`.
- - Set the options factory programmatically, e.g. `RocksDBStateBackend.setOptions(new MyOptionsFactory());`
+ - Set the options factory programmatically, e.g. `RocksDBStateBackend.setRocksDBOptions(new MyOptionsFactory());`
<span class="label label-info">Note</span> Options factory which set programmatically would override the one configured via `flink-conf.yaml`,
and options factory has a higher priority over the predefined options if ever configured or set.
diff --git a/docs/ops/state/state_backends.zh.md b/docs/ops/state/state_backends.zh.md
index 89744f6..2ede86f 100644
--- a/docs/ops/state/state_backends.zh.md
+++ b/docs/ops/state/state_backends.zh.md
@@ -280,7 +280,7 @@ Flink还提供了两个参数来控制*写路径*(MemTable)和*读路径*(
- 通过 `state.backend.rocksdb.options-factory` 选项将工厂实现类的名称设置到`flink-conf.yaml` 。
- - 通过程序设置,例如 `RocksDBStateBackend.setOptions(new MyOptionsFactory());` 。
+ - 通过程序设置,例如 `RocksDBStateBackend.setRocksDBOptions(new MyOptionsFactory());` 。
<span class="label label-info">注意</span> 通过程序设置的 `RocksDBOptionsFactory` 将覆盖 `flink-conf.yaml` 配置文件的设置,且 `RocksDBOptionsFactory` 设置的优先级高于预定义选项(`PredefinedOptions`)。