From issues-return-21602-archive-asf-public=cust-asf.ponee.io@kylin.apache.org Thu Nov 8 22:15:50 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9C4BE18067A for ; Thu, 8 Nov 2018 22:15:49 +0100 (CET) Received: (qmail 98821 invoked by uid 500); 8 Nov 2018 21:15:48 -0000 Mailing-List: contact issues-help@kylin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.apache.org Delivered-To: mailing list issues@kylin.apache.org Received: (qmail 98812 invoked by uid 99); 8 Nov 2018 21:15:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2018 21:15:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5459D18EEEA for ; Thu, 8 Nov 2018 21:15:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ar79jZrWwpRU for ; Thu, 8 Nov 2018 21:15:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 521C7662A1 for ; Thu, 8 Nov 2018 07:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8B95AE0F39 for ; Thu, 8 Nov 2018 07:39:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1BF37266AF for ; Thu, 8 Nov 2018 07:39:00 +0000 (UTC) Date: Thu, 8 Nov 2018 07:39:00 +0000 (UTC) From: "Shaofeng SHI (JIRA)" To: issues@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (KYLIN-3569) Server with query mode still can submit/build job MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KYLIN-3569?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Shaofeng SHI reassigned KYLIN-3569: ----------------------------------- Assignee: Zongwei Li > Server with query mode still can submit/build job > ------------------------------------------------- > > Key: KYLIN-3569 > URL: https://issues.apache.org/jira/browse/KYLIN-3569 > 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 > Assignee: Zongwei Li > Priority: Major > Labels: build, documentation, security > Attachments: kylinCode.png > > > From the Docs at Kylin site,=C2=A0[http://kylin.apache.org/docs24/install= /kylin_cluster.html] > * *query*=C2=A0: run query engine only; Kylin query engine accepts and a= nswers your SQL queries > It seems that if server set with 'kylin.server.mode=3Dquery', it should n= ot can support submit/build job. But as we tested, server with query mode s= till can submit/build job from UI or RESTFul API.=C2=A0 > We analyzed the source code, found that there didn't exist any protect lo= gic to check whether server is at 'job' or 'build' mode in service layer fo= r submit/build job. Already=C2=A0attach the source code in=C2=A0this 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 A= CL for Cubes, then the 3rd BI tool can trigger build job in any time. -- This message was sent by Atlassian JIRA (v7.6.3#76005)