You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "yzq (JIRA)" <ji...@apache.org> on 2019/02/12 03:30:00 UTC
[jira] [Commented] (KYLIN-3808) RestAPI /api/jobs always returns 0
for exec_start_time and exec_end_time and exec_interrupt_time fields
[ https://issues.apache.org/jira/browse/KYLIN-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765639#comment-16765639 ]
yzq commented on KYLIN-3808:
----------------------------
It's because that the function getCheckpointJobInstance() and getSingleJobInstance() in JobService forget set the execStartTime, execEndTime and execInterruptTime fields.
Please check I'm correct.
> RestAPI /api/jobs always returns 0 for exec_start_time and exec_end_time and exec_interrupt_time fields
> -------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-3808
> URL: https://issues.apache.org/jira/browse/KYLIN-3808
> Project: Kylin
> Issue Type: Bug
> Components: REST Service
> Affects Versions: v2.5.2
> Reporter: yzq
> Priority: Critical
>
> GET [http://kylin-host:7070/kylin/api/jobs?cubeName=xxx&timeFilter=0&offset=0&limit=10000]
> [
> {
> "uuid":"a89cf2d4-caaf-21fe-5cb9-63f1725d0e02",
> "last_modified":1549917430155,
> "version":"2.5.2.20500",
> "name":"BUILD CUBE - xxxx- 20190211000000_20190212000000 - GMT+08:00 2019-02-12 04:10:32",
> "type":"BUILD",
> "duration":1583,
> "related_cube":"xxxx",
> "display_cube_name":"xxxx",
> "related_segment":"898fc7c8-5e30-927c-da26-816ab4dbff08",
> {color:#FF0000} "exec_start_time":0,{color}
> {color:#FF0000} "exec_end_time":0,{color}
> {color:#FF0000}"exec_interrupt_time":0,{color}
> "mr_waiting":179,
> ......
>
> exec_start_time, exec_end_time and exec_interrupt_time fields always return 0
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)