You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2021/09/23 02:27:00 UTC
[jira] [Comment Edited] (FLINK-24353) Bash scripts do not respect
dynamic configurations when calculating memory sizes
[ https://issues.apache.org/jira/browse/FLINK-24353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418471#comment-17418471 ]
Xintong Song edited comment on FLINK-24353 at 9/23/21, 2:26 AM:
----------------------------------------------------------------
I think both `{{-Dkey=value}}` and `{{-D key=value}}` are expected to work.
I tried this on {{taskmanager.numberOfTaskSlots}} and both ways work.
However, for memory options, -only `{{-Dkey=value}}` works but not `{{-D key=value}}`- neither way works.
was (Author: xintongsong):
I think both `{{-Dkey=value}}` and `{{-D key=value}}` are expected to work.
I tried this on {{taskmanager.numberOfTaskSlots}} and both ways work.
However, for memory options, only `{{-Dkey=value}}` works but not `{{-D key=value}}`.
> Bash scripts do not respect dynamic configurations when calculating memory sizes
> --------------------------------------------------------------------------------
>
> Key: FLINK-24353
> URL: https://issues.apache.org/jira/browse/FLINK-24353
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Scripts
> Affects Versions: 1.14.0, 1.13.2, 1.15.0
> Reporter: Xintong Song
> Assignee: Xintong Song
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.14.0, 1.13.3, 1.15.0
>
>
> Dynamic configurations (the '-D' arguments) are lost due to changes in FLINK-21128.
> Consequently, dynamic configurations like the following commands will not take effect.
> {code}
> ./bin/taskmanager.sh start -D taskmanager.memory.task.off-heap.size=128m
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)