kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <>
Subject [jira] [Commented] (KYLIN-3569) Server with query mode still can submit/build job
Date Wed, 19 Sep 2018 05:46:00 GMT


Shaofeng SHI commented on KYLIN-3569:

This is by design; Query server won't execute job. The job can only be executed by job node.


Please send your question to

> Server with query mode still can submit/build job
> -------------------------------------------------
>                 Key: KYLIN-3569
>                 URL:
>             Project: Kylin
>          Issue Type: Bug
>          Components: Job Engine, REST Service, Security
>    Affects Versions: v2.4.1
>         Environment: CentOS 6.7, HBase 1.2.0+cdh5.14.2+456
>            Reporter: Zongwei Li
>            Priority: Major
>              Labels: build, documentation, security
>         Attachments: kylinCode.png
> From the Docs at Kylin site, []
>  * *query* : run query engine only; Kylin query engine accepts and answers your SQL
> It seems that if server set with 'kylin.server.mode=query', it should not can support
submit/build job. But as we tested, server with query mode still can submit/build job from
> We analyzed the source code, found that there didn't exist any protect logic to check
whether server is at 'job' or 'build' mode in service layer for submit/build job. Already attach
the source code in this issue.
> This issue really confused us, because we considered query server cannot build job in
Kylin Docs and many Kylin books. And query server will exposed to 3rd BI tool to query the
data, if we forget to configure the suitable ACL for Cubes, then the 3rd BI tool can trigger
build job in any time.

This message was sent by Atlassian JIRA

View raw message