[ https://issues.apache.org/jira/browse/HIVE-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620254#comment-13620254 ]
Ashutosh Chauhan commented on HIVE-4232: ---------------------------------------- +1 looks good to me too. It will be good to add a testcase, especially since there is no existing testcase for url strings. You can spin off a HiveServer2 in a thread and then have a jdbc client connect to it with urls having plain and default connection string, passing on username and password where supported. > JDBC2 HiveConnection has odd defaults > ------------------------------------- > > Key: HIVE-4232 > URL: https://issues.apache.org/jira/browse/HIVE-4232 > Project: Hive > Issue Type: Bug > Components: HiveServer2, JDBC > Affects Versions: 0.11.0 > Reporter: Chris Drome > Assignee: Chris Drome > Fix For: 0.11.0 > > Attachments: HIVE-4232.patch > > > HiveConnection defaults to using a plain SASL transport if auth is not set. > To get a raw transport auth must be set to noSasl; furthermore noSasl is case > sensitive. Code tries to infer Kerberos or plain authentication based on the > presence of principal. There is no provision for specifying QOP level. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira