From issues-return-19980-archive-asf-public=cust-asf.ponee.io@kylin.apache.org Mon Sep 17 14:28:03 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 03888180627 for ; Mon, 17 Sep 2018 14:28:02 +0200 (CEST) Received: (qmail 99835 invoked by uid 500); 17 Sep 2018 12:28:02 -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 99825 invoked by uid 99); 17 Sep 2018 12:28:02 -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; Mon, 17 Sep 2018 12:28:02 +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 C3BC21824C6 for ; Mon, 17 Sep 2018 12:28:01 +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 DKIQnco_xRzh for ; Mon, 17 Sep 2018 12:28:01 +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 E3C8D5F46D for ; Mon, 17 Sep 2018 12:28:00 +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 90F18E092E for ; Mon, 17 Sep 2018 12:28: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 1F4F123F9F for ; Mon, 17 Sep 2018 12:28:00 +0000 (UTC) Date: Mon, 17 Sep 2018 12:28:00 +0000 (UTC) From: "Marc Wu (JIRA)" To: issues@kylin.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KYLIN-3565) User cannot login Kylin when HBase metadata server down MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Marc Wu created KYLIN-3565: ------------------------------ Summary: User cannot login Kylin when HBase metadata server do= wn Key: KYLIN-3565 URL: https://issues.apache.org/jira/browse/KYLIN-3565 Project: Kylin Issue Type: Bug Components: REST Service, Web=20 Affects Versions: v2.4.1 Environment: CentOS 6.7, HBase 1.2.0+cdh5.14.2+456 Reporter: Marc Wu Fix For: Future Attachments: 2018-09-17_16-56-12.png, 2018-09-17_16-56-38.png, 201= 8-09-17_16-59-31.png, image-2018-09-17-20-22-20-294.png, image-2018-09-17-2= 0-25-54-896.png Hi Kylin team, =C2=A0 We found one issue when log in Kylin. The error message will misunderstood = user. =C2=A0 I couldn't log in Kylin even I input correct username & password (enable LD= AP). So I checked the log on server, it showed me that there exist HBase connect= ion issues. Root cause is that the HBase server which Kylin used as metadata server is = down, but the login message showed me that I should check my username or pa= ssword. It's really confusing. Then I read some source codes about login module, and found out Kylin share= s the same error message for different cases. =C2=A0 We suggested two options: # redirect to global error page when HBase connection fail after login, sh= ows error message(e.g. System Error, please contact system administrator). # enhance the error code for login logic, make the error message more spec= ific. =C2=A0 There are login error message and the log. And I log in successfully after = recover HBase servers. !image-2018-09-17-20-25-54-896.png!!image-2018-09-17-20-22-20-294.png! -- This message was sent by Atlassian JIRA (v7.6.3#76005)