kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peng.jianhua (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-3112) The job 'Pause' operation has logic bug in the kylin server.
Date Fri, 15 Dec 2017 10:35:03 GMT

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

peng.jianhua updated KYLIN-3112:
--------------------------------
    Description: 
1. Click the 'Pause' item, although the result is successful, when you expand the action,
you will also find the 'Pause' item. refer to [^job_click_pause.png]
2. When you click  'Pause' item again( the second click), when the result is successful, then
you expand the action, you will find the 'Pause' item has changed to 'Resume'. refer to [^job_click_pause_again.png]

I checked the logic code of job pause in kylin server, I found the job status changed to new
status in the metadata storage, but not changed in JobInstance which would be sent to client,
so the client got the old job status.
Then you clicked 'Pause' item again, the JobInstance would be fetched from the metadata storage,
so it was the new one, then the client woud get the new job status. 
So I fixed it, please check the patch, thanks!

  was:
1. Click the 'Pause' item, although the result is successful, when you expand the action,
you will also find the 'Pause' item. refer to [^job_click_pause.png]
2. When you click  'Pause' item again( the second click), when the result is successful, then
you expand the action, you will find the 'Pause' item has changed to 'Resume'. refer to [^job_click_pause_again.png]

I checked the logic code of job pause in kylin server, I found the job status not be changed
to the new status, so I fixed it, please check the patch, thanks!


> The job 'Pause' operation has logic bug in the kylin server.
> ------------------------------------------------------------
>
>                 Key: KYLIN-3112
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3112
>             Project: Kylin
>          Issue Type: Bug
>          Components: General
>    Affects Versions: v2.3.0
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>              Labels: patch
>         Attachments: job_click_pause.png, job_click_pause_again.png
>
>
> 1. Click the 'Pause' item, although the result is successful, when you expand the action,
you will also find the 'Pause' item. refer to [^job_click_pause.png]
> 2. When you click  'Pause' item again( the second click), when the result is successful,
then you expand the action, you will find the 'Pause' item has changed to 'Resume'. refer
to [^job_click_pause_again.png]
> I checked the logic code of job pause in kylin server, I found the job status changed
to new status in the metadata storage, but not changed in JobInstance which would be sent
to client, so the client got the old job status.
> Then you clicked 'Pause' item again, the JobInstance would be fetched from the metadata
storage, so it was the new one, then the client woud get the new job status. 
> So I fixed it, please check the patch, thanks!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message