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

Shuwen Zhou commented on FLINK-14538:
-------------------------------------

[~wind_ljy]

It was deployed on Yarn cluster.

The command of job manager is following:
{code:java}
/usr/lib/jvm/java-1.8.0-openjdk/bin/java -Xms2304m -Xmx2304m -XX:+PrintHeapAtGC 
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution 
-Dlog.file=/ebs_hadoop_data/yarn-data/log/application_156508035xxxx_24xxxx/container_e20_156508035xxxx_24xxxx_01_000001/jobmanager.log
 -Dlog4j.configuration=file:log4j.properties 
org.apache.flink.yarn.entrypoint.YarnJobClusterEntrypoint
{code}
The command of task manager is :
{code:java}
/usr/lib/jvm/java-1.8.0-openjdk/bin/java -Xms9830m -Xmx9830m 
-XX:MaxDirectMemorySize=6554m -XX:+PrintHeapAtGC -XX:+PrintGCDetails 
-XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution 
-Dlog.file=/ebs_hadoop_data/yarn-data/log/application_156508035xxxx_24xxxx/container_e20_156508035xxxx_24xxxx_01_000163/taskmanager.log
 -Dlog4j.configuration=file:./log4j.properties 
org.apache.flink.yarn.YarnTaskExecutorRunner --configDir .
{code}
Thanks.

I was expecting NonHeap memory will be logged as default value.

 

> Metrics of Status.JVM.Memory.NonHeap.Max is always -1
> -----------------------------------------------------
>
>                 Key: FLINK-14538
>                 URL: https://issues.apache.org/jira/browse/FLINK-14538
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Metrics
>    Affects Versions: 1.9.0
>            Reporter: Shuwen Zhou
>            Priority: Minor
>         Attachments: image-2019-10-28-12-34-53-413.png
>
>
> I'm collecting JobManager and TaskManager status metrics to DataDog.
> While all metrics of both JobManager and TaskManager 
> Status.JVM.Memory.NonHeap.Max is always -1
>  



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

Reply via email to