[
https://issues.apache.org/jira/browse/KYLIN-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaoxiang Yu resolved KYLIN-5090.
---------------------------------
Resolution: Fixed
> The error message was not printed in class JobWoker
> ---------------------------------------------------
>
> Key: KYLIN-5090
> URL: https://issues.apache.org/jira/browse/KYLIN-5090
> Project: Kylin
> Issue Type: Improvement
> Affects Versions: v4.0.0
> Reporter: Yaqian Zhang
> Assignee: Yaqian Zhang
> Priority: Minor
> Fix For: v4.0.1
>
>
> In the execute method in JobWorker, after the error is thrown, the error
> details are not printed, but called the method for handling the error. When
> the method for handling the error is executed, other errors are generated,
> resulting in the real error information being hidden.
> {code:java}
> private def execute(): Unit = {
> pool.execute(new Runnable {
> override def run(): Unit = {
> try {
> logInfo("Start running job.")
> application.execute(args)
> eventLoop.post(JobSucceeded())
> } catch {
> case exception: NoRetryException =>
> eventLoop.post(UnknownThrowable(exception))
> case throwable: Throwable => eventLoop.post(ResourceLack(throwable))
> }
> }
> })
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)