[ 
https://issues.apache.org/jira/browse/KYLIN-5762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831152#comment-17831152
 ] 

pengfei.zhan commented on KYLIN-5762:
-------------------------------------

h1. Design

If the parameter `kylin.job.max-concurrent-jobs` is less than 1, then creating 
the default thread pool with corePoolSize=1.

If the parameter `kylin.job.max-concurrent-jobs` is equal or less than 0, all 
the tasks will be suspended.

Validating the parameter value when configuring it in the page of project 
setting, with the value is less than 0, an error will be reported directly: 
illegal negative number.

> Initialize job scheduler encounters NPE
> ---------------------------------------
>
>                 Key: KYLIN-5762
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5762
>             Project: Kylin
>          Issue Type: Bug
>          Components: Job Engine
>    Affects Versions: 5.0-beta
>            Reporter: pengfei.zhan
>            Assignee: pengfei.zhan
>            Priority: Major
>             Fix For: 5.0-beta
>
>
> Given `kylin.job.max-concurrent-jobs=0`, the initialization of job scheduler 
> encounters NPE.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to