You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2020/02/07 14:25:57 UTC

[kylin] 02/44: Minor, fix typo in KylinHealthCheckJob

This is an automated email from the ASF dual-hosted git repository.

nic pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit d30ac84a0b827e247776f5963adaeb903c14ccb3
Author: Zhou Kang <zh...@xiaomi.com>
AuthorDate: Tue Dec 10 14:51:01 2019 +0800

    Minor, fix typo in KylinHealthCheckJob
---
 .../src/main/java/org/apache/kylin/rest/job/KylinHealthCheckJob.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server-base/src/main/java/org/apache/kylin/rest/job/KylinHealthCheckJob.java b/server-base/src/main/java/org/apache/kylin/rest/job/KylinHealthCheckJob.java
index ecca373..0e25117 100644
--- a/server-base/src/main/java/org/apache/kylin/rest/job/KylinHealthCheckJob.java
+++ b/server-base/src/main/java/org/apache/kylin/rest/job/KylinHealthCheckJob.java
@@ -58,7 +58,7 @@ public class KylinHealthCheckJob extends AbstractApplication {
 
     @SuppressWarnings("static-access")
     private static final Option OPTION_FIX = OptionBuilder.withArgName("fix").hasArg().isRequired(false)
-            .withDescription("Fix the unhealth cube").create("fix");
+            .withDescription("Fix the unhealthy cube").create("fix");
 
     public static void main(String[] args) throws Exception {
         new KylinHealthCheckJob().execute(args);
@@ -130,7 +130,7 @@ public class KylinHealthCheckJob extends AbstractApplication {
 
     private void sendMail(String content) {
         logger.info("Send Kylin cluster report");
-        String subject = "Kylin Cluster Health Resport of " + config.getClusterName() + " on "
+        String subject = "Kylin Cluster Health Report of " + config.getClusterName() + " on "
                 + new SimpleDateFormat("yyyy-MM-dd", Locale.ROOT).format(new Date());
         List<String> users = Lists.newArrayList(config.getAdminDls());
         new MailService(config).sendMail(users, subject, content, false);