You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2020/03/27 13:32:20 UTC
[kylin] branch master updated: KYLIN-4412 Show cluster name in
email title
This is an automated email from the ASF dual-hosted git repository.
shaofengshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new 4641136 KYLIN-4412 Show cluster name in email title
4641136 is described below
commit 46411360da72183b003dfc0db5dd80b2b680b7a9
Author: Zhou Kang <zh...@xiaomi.com>
AuthorDate: Tue Mar 10 10:36:04 2020 +0800
KYLIN-4412 Show cluster name in email title
---
engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java b/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java
index 5456d55..2f8c1f6 100644
--- a/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java
+++ b/engine-mr/src/main/java/org/apache/kylin/engine/mr/CubingJob.java
@@ -258,7 +258,11 @@ public class CubingJob extends DefaultChainedExecutable {
}
String content = MailNotificationUtil.getMailContent(state, dataMap);
- String title = MailNotificationUtil.getMailTitle("JOB", state.toString(), getDeployEnvName(), getProjectName(),
+ String title = MailNotificationUtil.getMailTitle("JOB",
+ state.toString(),
+ context.getConfig().getClusterName(),
+ getDeployEnvName(),
+ getProjectName(),
cubeInstance.getName());
return Pair.newPair(title, content);
}