dengzhhu653 commented on code in PR #6492:
URL: https://github.com/apache/hive/pull/6492#discussion_r3278142755


##########
standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/HMSClient.java:
##########
@@ -483,15 +482,14 @@ private TTransport open(Configuration conf, @NotNull URI 
uri) throws
         LOG.info("HMSC::open(): Found delegation token. Creating DIGEST-based 
thrift connection.");
         // authenticate using delegation tokens via the "DIGEST" mechanism
         transport = authBridge.createClientTransport(null, host,
-            "DIGEST", tokenStrForm, transport,
-            MetaStoreUtils.getMetaStoreSaslProperties(conf, useSSL));
+            "DIGEST", tokenStrForm, transport, saslProperties);

Review Comment:
   This changes Metastore's transport as well, I have two concerns:
   1. will Kerberos(hadoop.rpc.protection=privacy) + SSL can work together in 
Metastore, i.e, will there have any connect issues between Metastore client and 
server?
   2. sounds like a breaking change for old Metastore clients, they need to 
upgrade to the latest the Metastore lib, should we take care of or document 
that?
   
   Rest looks good to me.
     
   



-- 
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