[ https://issues.apache.org/jira/browse/FLINK-7675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Che Wei updated FLINK-7675: ------------------------------- Description: For internal checkpoint, {{CompletedCheckpointStats.getExternalPath()}} could be {{null}}. This will leads to {{LatestCompletedCheckpointExternalPathGauge}} to return {{null}} value to {{MetricDumpSerialization}}, then it will throw {{NullPointerException}} in {{serializeGauge}} function. was: For internal checkpoint, {{CompletedCheckpointStats.getExternalPath()}} could be {{null}}. This will leads to {{LatestCompletedCheckpointExternalPathGauge}} to return {{null}} value to {{MetricDumpSerialization}}, then it will throw {{NullPointerException}} when serialize it. > LatestCompletedCheckpointExternalPathGauge should check if external path is > exist > --------------------------------------------------------------------------------- > > Key: FLINK-7675 > URL: https://issues.apache.org/jira/browse/FLINK-7675 > Project: Flink > Issue Type: Bug > Components: Metrics > Affects Versions: 1.4.0, 1.3.3 > Reporter: Wei-Che Wei > Assignee: Wei-Che Wei > > For internal checkpoint, {{CompletedCheckpointStats.getExternalPath()}} could > be {{null}}. > This will leads to {{LatestCompletedCheckpointExternalPathGauge}} to return > {{null}} value to {{MetricDumpSerialization}}, then it will throw > {{NullPointerException}} in {{serializeGauge}} function. -- This message was sent by Atlassian JIRA (v6.4.14#64029)