[
https://issues.apache.org/jira/browse/KYLIN-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786806#comment-17786806
]
Hongrong Cao edited comment on KYLIN-5725 at 11/17/23 7:06 AM:
---------------------------------------------------------------
h2. RC
The reason for the operation task and query error report is:
When updating the email notification configuration of the project, in order to
achieve the effect of "the old error parameter passes true, the new
configuration parameter is only ["DISCARDED"], and after the successful call,
the page shows that error is checked, and you can receive the email of the
error, you should take the new configuration into effect here, and only notify
the termination of the task status of the email. That is, the new parameter
overrides the effect of the old parameter. In the logic of updating the
configuration, this paragraph is added
!image-2023-11-17-15-03-23-989.png|width=849,height=452!
Assigning null to "kylin.job.notification-on-job-error" means that the old
parameter does not take effect.
However, assigning null causes subsequent operations (putting project-level
parameters into mapz red) to report null pointers.
This leads to the problem
h2. Fix
change to {{overrideKylinProps.put("kylin.job.notification-on-job-error",
"false");}}
!image-2023-11-17-15-05-29-264.png|width=637,height=368!
was (Author: JIRAUSER303052):
h2. RC
The reason for the operation task and query error report is:
When updating the email notification configuration of the project, in order to
achieve the effect of "the old error parameter passes true, the new
configuration parameter is only ["DISCARDED"], and after the successful call,
the page shows that error is checked, and you can receive the email of the
error, you should take the new configuration into effect here, and only notify
the termination of the task status of the email. That is, the new parameter
overrides the effect of the old parameter. In the logic of updating the
configuration, this paragraph is added
> After turning on the email alert configuration, the operation task prompts an
> unknown error, and the query underpressing also reports an error.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-5725
> URL: https://issues.apache.org/jira/browse/KYLIN-5725
> Project: Kylin
> Issue Type: Bug
> Affects Versions: 5.0-beta
> Reporter: Hongrong Cao
> Assignee: sibing.zhang
> Priority: Critical
> Fix For: 5.0.0
>
> Attachments: image-2023-11-17-15-03-23-989.png,
> image-2023-11-17-15-05-29-264.png
>
>
> Steps to Reproduce
> 1:Configure to enable email alerts
> 2:Create a model and initiate a build task.
> 3:In the task list operation task restart, pause, terminate
> 4:Query sql, expect query downpressure
> Actual result
> 3:Operation error report
> 4:Query error
--
This message was sent by Atlassian Jira
(v8.20.10#820010)