[ 
https://issues.apache.org/jira/browse/HIVE-24159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

László Bodor updated HIVE-24159:
--------------------------------
    Description: 
As kafka_storage_handler.q was disabled by HIVE-23985, I haven't realized 
upstream that the kafka qtest fails. Instead of setting up a kerberized 
environment in qtest (which doesn't seem to be a usual usecase, e.g. haven't 
seen hive.server2.authentication.kerberos.principal used in *.q files) I 
managed to make the test with a simple UserGroupInformation.isSecurityEnabled() 
check, which can be also useful for every non-secure environment.

For reference, the exception was:
{code}

{code}

  was:As kafka_storage_handler.q was disabled by HIVE-23985, I haven't realized 
upstream that the kafka qtest fails. Instead of setting up a kerberized 
environment in qtest (which doesn't seem to be a usual usecase, e.g. haven't 
seen hive.server2.authentication.kerberos.principal used in *.q files) I 
managed to make the test with a simple UserGroupInformation.isSecurityEnabled() 
check, which can be also useful for every non-secure environment.


> Kafka storage handler broken in secure environment pt2: short-circuit on 
> non-secure environment
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-24159
>                 URL: https://issues.apache.org/jira/browse/HIVE-24159
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>
> As kafka_storage_handler.q was disabled by HIVE-23985, I haven't realized 
> upstream that the kafka qtest fails. Instead of setting up a kerberized 
> environment in qtest (which doesn't seem to be a usual usecase, e.g. haven't 
> seen hive.server2.authentication.kerberos.principal used in *.q files) I 
> managed to make the test with a simple 
> UserGroupInformation.isSecurityEnabled() check, which can be also useful for 
> every non-secure environment.
> For reference, the exception was:
> {code}
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to