You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "jackylau (Jira)" <ji...@apache.org> on 2021/02/26 09:27:00 UTC

[jira] [Commented] (FLINK-21512) flink MemorySize.parseBytes bug if users use it by setting dynamic properties like

    [ https://issues.apache.org/jira/browse/FLINK-21512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17291503#comment-17291503 ] 

jackylau commented on FLINK-21512:
----------------------------------

we can make the MemorySize.parseByte supports 

"'1234b'" 

> flink MemorySize.parseBytes bug if users use it by setting dynamic properties like
> ----------------------------------------------------------------------------------
>
>                 Key: FLINK-21512
>                 URL: https://issues.apache.org/jira/browse/FLINK-21512
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Core
>    Affects Versions: 1.12.0
>            Reporter: jackylau
>            Priority: Major
>             Fix For: 1.13.0
>
>
> when i develop flink on ray mode, when user set dynamic properties by 
> BootstrapTools.getDynamicPropertiesAsString, which will auto add " or ' on diffrent os. 
> And it wll cause  MemorySize.parseByte cannot parser and throw exception
> "text does not start with a number"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)