[
https://issues.apache.org/jira/browse/FLINK-20451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242892#comment-17242892
]
xiaozilong commented on FLINK-20451:
------------------------------------
Hi [~xintongsong],
The problem is that TM cannot allocate resources and the job is always in the
scheduled state. If remove this configuration, the job runs fine. The
screenshot is the last log of jobmanager, it looks like applying for resources
but unsuccessful. Could you reproduce it?
> Taskmanager can't apply resources when submit job with configs
> `env.java.opts.taskmanager: -javaagent:`
> -------------------------------------------------------------------------------------------------------
>
> Key: FLINK-20451
> URL: https://issues.apache.org/jira/browse/FLINK-20451
> Project: Flink
> Issue Type: Bug
> Components: Deployment / YARN
> Affects Versions: 1.11.0
> Reporter: xiaozilong
> Priority: Major
> Attachments: image-2020-12-02-20-24-57-809.png
>
>
> Hi, I meet an unexpected problem that the taskmanager can't apply resources
> when submit job with configs `env.java.opts.taskmanager: -javaagent` in
> flink-conf.yaml.
> This my configuration:
> {code:java}
> env.java.opts: -Djava.net.preferIPv4Stack=true
> -Djob.name=monitoring_demo_64648b66-1923-4b2e-825b-a970a2b6ecf8
> env.java.opts.taskmanager:
> -javaagent:/data/opt/file_tmp/jvm-profiler-1.0.0.jar=sampleInterval=50{code}
> Partial log:
> !image-2020-12-02-20-24-57-809.png!
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)