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

ASF GitHub Bot commented on FLINK-7675:
---------------------------------------

GitHub user tony810430 opened a pull request:

    https://github.com/apache/flink/pull/4709

    [FLINK-7675] [metrics] LatestCompletedCheckpointExternalPathGauge should 
check if external path is exist

    - check if external path is null
    - update test to test the corresponding behavior
    - update document with more accurate description

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tony810430/flink FLINK-7675

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4709.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4709
    
----
commit 99efd3a2a3a4b5aafe460eed507f274c36e752a3
Author: Tony Wei <[email protected]>
Date:   2017-09-23T10:49:32Z

    [FLINK-7675] LatestCompletedCheckpointExternalPathGauge should check if 
external path is exist

----


> 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)

Reply via email to