Skip to content

Commit

Permalink
[FLINK-30079][docs] Updated deprecated option usage
Browse files Browse the repository at this point in the history
  • Loading branch information
liuml07 authored Nov 21, 2022
1 parent a56af3b commit 8d17a84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/content.zh/docs/dev/dataset/local_execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ The `LocalEnvironment` allows also to pass custom configuration values to Flink.

```java
Configuration conf = new Configuration();
conf.setFloat(ConfigConstants.TASK_MANAGER_MEMORY_FRACTION_KEY, 0.5f);
conf.set(TaskManagerOptions.MANAGED_MEMORY_FRACTION, 0.5f);
final ExecutionEnvironment env = ExecutionEnvironment.createLocalEnvironment(conf);
```

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/dev/dataset/local_execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ The `LocalEnvironment` allows also to pass custom configuration values to Flink.

```java
Configuration conf = new Configuration();
conf.setFloat(ConfigConstants.TASK_MANAGER_MEMORY_FRACTION_KEY, 0.5f);
conf.set(TaskManagerOptions.MANAGED_MEMORY_FRACTION, 0.5f);
final ExecutionEnvironment env = ExecutionEnvironment.createLocalEnvironment(conf);
```

Expand Down

0 comments on commit 8d17a84

Please sign in to comment.