Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5761

sqlline-thin kerberos logic too aggressive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • queryserver-6.0.0
    • queryserver-6.0.0
    • queryserver
    • None

    Description

      The kerberos login in logic in SqllineWrapper.java tries to read the hbase configuration, and tries to log in into kerberos if it decides that the HBase instance is kerberized.

      While this is fine in many use cases, it causes unintended failures in at least the following cases:

      • When trying to connect via Knox, which usually does not use kerberos
      • When trying to connect to a a PQS that is not using the same HBase config as the current host.

      This is true even if the user explicitly specifies BASIC authentication.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m