[
https://issues.apache.org/jira/browse/KYLIN-4182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940641#comment-16940641
]
wangrupeng commented on KYLIN-4182:
-----------------------------------
Hi ChangjiGuo,
Which step of the job did you get this problem? When you paused the running
job, did you try to refresh the job list and checkd this job's state? Maybe
sometimes, if the job step which is running on mr or connecting to hbase is
interrupted, it's state could be transformed to ERROR not PAUSED.
You can refresh the job list, and resume this job, it will resume from the
latest unfinished step.
> Unable to turn the running state to stop
> ----------------------------------------
>
> Key: KYLIN-4182
> URL: https://issues.apache.org/jira/browse/KYLIN-4182
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Affects Versions: v2.6.3
> Environment: apache-kylin-2.6.3-bin-hbase1x
> hbase -1.4.10
> hadoop-2.7.7
> Reporter: ChangjiGuo
> Priority: Major
>
> When I pause a running task, I get the following error:
> ----
> 2019-09-29 11:17:00,058 ERROR [pool-12-thread-8]
> threadpool.DistributedScheduler:113 : ExecuteException
> job:f0439c59-da5f-817c-edb9-408d856c1bb9 in server: 1180461@kylin
> org.apache.kylin.job.exception.ExecuteException:
> org.apache.kylin.job.exception.IllegalStateTranferException:
> {color:#de350b}there is no valid state transfer from:STOPPED to:ERROR{color},
> job id: f0439c59-da5f-817c-edb9-408d856c1bb9
> at
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:189)
> at
> org.apache.kylin.job.impl.threadpool.DistributedScheduler$JobRunner.run(DistributedScheduler.java:110)
> 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: org.apache.kylin.job.exception.IllegalStateTranferException:
> there is no valid state transfer from:STOPPED to:ERROR, job id:
> f0439c59-da5f-817c-edb9-408d856c1bb9
> at
> org.apache.kylin.job.execution.ExecutableManager.updateJobOutput(ExecutableManager.java:459)
> at
> org.apache.kylin.job.execution.AbstractExecutable.onExecuteError(AbstractExecutable.java:144)
> at
> org.apache.kylin.job.execution.DefaultChainedExecutable.onExecuteError(DefaultChainedExecutable.java:92)
> at
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:181)
> ... 4 more
--
This message was sent by Atlassian Jira
(v8.3.4#803005)