Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3404

Last optimized time detail was not showing after cube optimization

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v2.3.0, v2.3.1
    • Fix Version/s: v2.4.0, v2.3.2
    • Component/s: Job Engine
    • Labels:
      None

      Description

      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.

      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
      

      2. CubeInstanceResponse did not copy the field 'cuboid_last_optimized' from CubeInstance

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yuchuqian Chuqian Yu
                Reporter:
                yuchuqian Chuqian Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: