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

User login error message is inaccurate



    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: v2.4.1
    • Fix Version/s: None
    • Component/s: REST Service, Web
    • Labels:
    • Environment:
      CentOS 6.7, HBase 1.2.0+cdh5.14.2+456


      Hi Kylin team,


      We found one issue when log in Kylin. The error message will misunderstood user.


      I couldn't log in Kylin even I input correct username & password (enable LDAP).

      So I checked the log on server, it showed me that there exist HBase connection 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 password. It's really confusing.

      Then I read some source codes about login module, and found out Kylin shares the same error message for different cases.


      We suggested two options:

      1. redirect to global error page when HBase connection fail after login, shows error message(e.g. System Error, please contact system administrator).
      2. enhance the error code for login logic, make the error message more specific.


      There are login error message and the log. And I log in successfully after recover HBase servers.


          Issue Links



              • Assignee:
                hit_lacus Xiaoxiang Yu
                zonli Zongwei Li
              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created: