abstractdog commented on a change in pull request #2944:
URL: https://github.com/apache/hive/pull/2944#discussion_r783097207



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
##########
@@ -311,10 +325,18 @@ private void getKafkaCredentials(MapWork work, DAG dag, 
JobConf conf) {
         break;
       }
     }
+
+    for (TableDesc tableDesc : fileSinkTableDescs) {
+      kafkaBrokers = (String) 
tableDesc.getProperties().get("kafka.bootstrap.servers"); //FIXME: 
KafkaTableProperties
+      if (kafkaBrokers != null && !kafkaBrokers.isEmpty()) {

Review comment:
       thanks @maheshk114, makes sense, introduced 
collectKafkaDelegationTokenForTableDesc, I've just force pushed a new commit 
including this, please let me know if it's fine




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to