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:
[email protected]


With regards,
Apache Git Services

Reply via email to