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

Chuqian Yu updated KYLIN-3404:
------------------------------
    Attachment: 0001-KYLIN-3404-The-last-optimized-time-not-showing-up-on.patch

> Last optimized time detail was not showing after cube optimization
> ------------------------------------------------------------------
>
>                 Key: KYLIN-3404
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3404
>             Project: Kylin
>          Issue Type: Bug
>          Components: Job Engine
>    Affects Versions: v2.3.0, v2.3.1
>            Reporter: Chuqian Yu
>            Assignee: Chuqian Yu
>            Priority: Major
>             Fix For: v2.4.0, v2.3.2
>
>         Attachments: 
> 0001-KYLIN-3404-The-last-optimized-time-not-showing-up-on.patch, 
> KYLIN-3404.patch
>
>
> There are two reasons for last optimized time detail not showing after cube 
> optimization.
> 1. CheckpointExecutable try to update last optimization time of a cube 
> without copying it.
>   
> {code:java}
> 2018-06-12 20:53:37,062 ERROR [Scheduler 2088456043 Job 
> bea409fd-bf7d-49d6-a52a-7fed0919cf96-376] execution.AbstractExecutable:100 : 
> 1th retries for onExecuteFinished fails due to {}
> java.lang.IllegalArgumentException
> at org.apache.kylin.cube.CubeUpdate.setCubeInstance(CubeUpdate.java:50)
> at org.apache.kylin.cube.CubeUpdate.<init>(CubeUpdate.java:41)
> at 
> org.apache.kylin.job.execution.CheckpointExecutable.onExecuteFinished(CheckpointExecutable.java:88)
> at 
> org.apache.kylin.job.execution.AbstractExecutable.onExecuteFinishedWithRetry(AbstractExecutable.java:98)
> at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:175)
> at 
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:300)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> 2018-06-12 20:53:37,063 ERROR [pool-9-thread-7] 
> threadpool.DefaultScheduler:302 : ExecuteException 
> job:bea409fd-bf7d-49d6-a52a-7fed0919cf96
> org.apache.kylin.job.exception.ExecuteException: 
> java.lang.IllegalArgumentException
> at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:179)
> at 
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:300)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException
> at org.apache.kylin.cube.CubeUpdate.setCubeInstance(CubeUpdate.java:50)
> at org.apache.kylin.cube.CubeUpdate.<init>(CubeUpdate.java:41)
> at 
> org.apache.kylin.job.execution.CheckpointExecutable.onExecuteFinished(CheckpointExecutable.java:88)
> at 
> org.apache.kylin.job.execution.AbstractExecutable.onExecuteFinishedWithRetry(AbstractExecutable.java:98)
> at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:175)
> ... 4 more
> {code}
> 2. CubeInstanceResponse did not copy the field 'cuboid_last_optimized'  from 
> CubeInstance 



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

Reply via email to