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

Stamatis Zampetakis resolved HIVE-27402.
----------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Fixed in 
https://github.com/apache/hive/commit/4d51be263f6a6bd648f7334d89de669fc746df46. 
Thanks for the reviews [~abstractdog][~akshatm]!

> Refactor Kafka credential handling into kafka-handler module
> ------------------------------------------------------------
>
>                 Key: HIVE-27402
>                 URL: https://issues.apache.org/jira/browse/HIVE-27402
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2, kafka integration
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> Currently the code for handling credentials and authentication for the Kafka 
> storage handler is spread across hive-exec 
> (https://github.com/apache/hive/blob/7cd3107a76d633ef5fae2ffb8ec16953ac968092/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java#L302)
>  and kafka-handler 
> (https://github.com/apache/hive/blob/7cd3107a76d633ef5fae2ffb8ec16953ac968092/kafka-handler/src/java/org/apache/hadoop/hive/kafka/KafkaUtils.java#L71)
>  modules. This leads to unexpected dependencies to kafka (e.g., kafka-client) 
> in hive-exec module and limits sharing opportunities of credential utilities 
> present in KafkaUtil class.
>     
> The goal of this refactoring is threefold:
> * centralize Kafka credential handling (in one module) opening the road to 
> more code reuse and better encapsulation;
> * remove kafka dependencies (e.g., kafka-client) from hive-exec module;
> * facilitate unit testing and product stability.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to