ayushtkn commented on code in PR #6657:
URL: https://github.com/apache/hive/pull/6657#discussion_r3672931194
##########
service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java:
##########
@@ -549,7 +549,7 @@ private SessionHandle getSessionHandle(TOpenSessionReq req,
TOpenSessionResp res
throws HiveSQLException, IOException {
final String ipAddress = getIpAddress();
- LOG.info("Creating Hive session handle for user [{}] from IP {}",
req.getUsername(), ipAddress);
+ LOG.info("Creating Hive session handle for user [{}] from IP {}",
userName, ipAddress);
Review Comment:
shouldn't we do if `req.getUsername()` is `null` then log `userName`
--
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]