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

sqlline-thin kerberos logic too aggressive

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: queryserver-6.0.0
    • Fix Version/s: queryserver-6.0.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              stoty Istvan Toth
              Reporter:
              stoty Istvan Toth

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment