HI, Kevin

I have not reproduced this problem.
What is the impact of this problem? Can't get this parameter correctly in user 
main method?

Could you provide a screenshot of the JobManager configuration on the UI


> 2022年4月2日 上午10:23,Kevin Lee <kevinliming...@gmail.com> 写道:
> 
> It's a typo
> 
> I run this demo on yarn cluster
> 
> 
> The mode is *"run-application"* instead of  "run"
> 
> ./bin/flink run-application -c com.lmk.QuotaTest --rate 10 --time
> "2022-03-28 11:53:21"
> 
> 
> The JM log shows program-args as follow:
> 
> 
> $internal.application.program-args, --rate;10;--time;'"2022-03-30 18:46:56"'
> 
> 
> 
> Sorry for the mistake
> 
> 
> 
> 
> 姜鑫 <jiangxin...@gmail.com> 于2022年4月1日周五 11:22写道:
> 
>> Hi Kevin,
>> 
>> I noticed that the two quotas in your time string looks different. Please
>> confirm that it is a typo or not.
>> 
>> Best,
>> Xin
>> 
>> 
>>> 2022年3月28日 上午11:58,Kevin Lee <kevinliming...@gmail.com> 写道:
>>> 
>>> Flink version : 1.13
>>> 
>>> Bug:
>>> When I pass an argument with space by single quota.
>>> The main function get this argument with a double quota
>>> 
>>> example:
>>> ./bin/flink run -c com.lmk.QuotaTest --rate 10 --time ''2022-03-28
>> 11:53:21"
>>> 
>>> The main function get parameters:
>>> 
>>> 1-----rate
>>> 2---10
>>> 3-----time
>>> 4---"2022-03-28 11:53:21"
>>> 
>>> 
>>> I think flink shell should remove the double quota in "2022-03-28
>> 11:53:21"
>>> 
>>> 
>>> Hope to get your reply asap
>> 
>> 

Reply via email to