Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3569

Server with query mode still can submit/build job

    XMLWordPrintableJSON

Details

    Description

      From the Docs at Kylin site, http://kylin.apache.org/docs24/install/kylin_cluster.html

      • query : run query engine only; Kylin query engine accepts and answers your SQL queries

      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 UI or RESTFul API. 

      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.

      Attachments

        1. kylinCode.png
          440 kB
          Zongwei Li

        Activity

          People

            zonli Zongwei Li
            zonli Zongwei Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: