You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Miklos Szurap (Jira)" <ji...@apache.org> on 2020/04/17 16:55:00 UTC
[jira] [Created] (HIVE-23237) Display HvieServer2 hostname in the
operation logs
Miklos Szurap created HIVE-23237:
------------------------------------
Summary: Display HvieServer2 hostname in the operation logs
Key: HIVE-23237
URL: https://issues.apache.org/jira/browse/HIVE-23237
Project: Hive
Issue Type: Improvement
Reporter: Miklos Szurap
Hive deployments often have an external load-balancer in front of multiple HiveServer2 instances.
In such cases the client does not know which HiveServer2 it is connected to. If there are some issues all HiveServer2 logs have to be searched for clues instead of directly going to the right host. It would be great if the HS2 hostname was logged to the client logs (for example to beeline's output).
We can "work around" by printing out this information with executing a "set hive.server2.thrift.bind.host;" however that requires an explicit modification to every application.
Can we print this information in the operation logs and that way streaming it back to the client?
Likely some users - customers do not want to expose that, so the behavior should be configurable.
This could make the issue/error investigation much easier.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)