You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2019/10/28 12:07:43 UTC

[GitHub] [kylin] lshmouse commented on a change in pull request #858: KYLIN-4178: job scheduler safe mode

lshmouse commented on a change in pull request #858: KYLIN-4178: job scheduler safe mode
URL: https://github.com/apache/kylin/pull/858#discussion_r339528377
 
 

 ##########
 File path: core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
 ##########
 @@ -836,6 +836,14 @@ public Integer getSchedulerPollIntervalSecond() {
         return Integer.parseInt(getOptional("kylin.job.scheduler.poll-interval-second", "30"));
     }
 
+    public boolean isSchedulerSafeMode() {
+        return Boolean.parseBoolean(getOptional("kylin.job.scheduler.safemode", "false"));
+    }
+
+    public String getSchedulerSafeModeExecutableUUID() {
 
 Review comment:
   I think It's bettter to have a whitelist of project other than uuid. The job uuid may be changed.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services