[
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}} when serialize it.
was:
For internal checkpoint, {{CompletedCheckpointStats.getExternalPath()}} could
be {{null}}.
This will leads to {{LatestCompletedCheckpointExternalPathGauge}} to return
{{null}} value to {{MetricDumpSerialization}}, which will throw
{{NullPointerException}} when serialize {{Gauge}}.
> 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}} when serialize it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)