flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-8916) Checkpointing Mode is always shown to be "At Least Once" in Web UI
Date Sun, 11 Mar 2018 11:49:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-8916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Yao updated FLINK-8916:
----------------------------
    Description: 
This only happens in flip6 mode. The {{CheckpointConfigHandler}} returns the checkpoint mode
uppercased. For example:
{code}
{"mode":"EXACTLY_ONCE","interval":5000,"timeout":600000,"min_pause":0,"max_concurrent":1,"externalization":{"enabled":false,"delete_on_cancellation":true}}
{code}
However, the Web UI expects the value to be lower cased:

{code}
  <tr>
        <td>Checkpointing Mode</td>
        <td ng-if="checkpointConfig['mode'] == 'exactly_once'">Exactly Once</td>
        <td ng-if="checkpointConfig['mode'] != 'exactly_once'">At Least Once</td>
      </tr>
{code}

  was:
This only happens in flip6 mode. {{CheckpointConfigHandler}} returns the checkpoint mode uppercased.
For example:
{code}
{"mode":"EXACTLY_ONCE","interval":5000,"timeout":600000,"min_pause":0,"max_concurrent":1,"externalization":{"enabled":false,"delete_on_cancellation":true}}
{code}
However, the Web UI expects the value to be lower cased:

{code}
  <tr>
        <td>Checkpointing Mode</td>
        <td ng-if="checkpointConfig['mode'] == 'exactly_once'">Exactly Once</td>
        <td ng-if="checkpointConfig['mode'] != 'exactly_once'">At Least Once</td>
      </tr>
{code}


> Checkpointing Mode is always shown to be "At Least Once" in Web UI
> ------------------------------------------------------------------
>
>                 Key: FLINK-8916
>                 URL: https://issues.apache.org/jira/browse/FLINK-8916
>             Project: Flink
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Gary Yao
>            Priority: Blocker
>              Labels: flip6
>             Fix For: 1.5.0, 1.6.0
>
>
> This only happens in flip6 mode. The {{CheckpointConfigHandler}} returns the checkpoint
mode uppercased. For example:
> {code}
> {"mode":"EXACTLY_ONCE","interval":5000,"timeout":600000,"min_pause":0,"max_concurrent":1,"externalization":{"enabled":false,"delete_on_cancellation":true}}
> {code}
> However, the Web UI expects the value to be lower cased:
> {code}
>   <tr>
>         <td>Checkpointing Mode</td>
>         <td ng-if="checkpointConfig['mode'] == 'exactly_once'">Exactly Once</td>
>         <td ng-if="checkpointConfig['mode'] != 'exactly_once'">At Least Once</td>
>       </tr>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message