This is an automated email from the ASF dual-hosted git repository.
dengzhhu653 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 37ae2a35ad1 HIVE-29778: Log the effective user when creating a Hive
session handle (#6657)
37ae2a35ad1 is described below
commit 37ae2a35ad19497c70ec74552e6eefd1cac193fe
Author: owenmonn <[email protected]>
AuthorDate: Wed Sep 9 12:33:02 2026 +0900
HIVE-29778: Log the effective user when creating a Hive session handle
(#6657)
---
.../src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java
b/service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java
index b2858f53289..6d121613af8 100644
--- a/service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java
+++ b/service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java
@@ -550,7 +550,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);
TProtocolVersion protocol = getMinVersion(CLIService.SERVER_VERSION,
req.getClient_protocol());