Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0, 4.0.0
-
None
-
Included URI details in the connection & failure logs
Description
The current logging is:
2018-02-26 07:02:44,883 INFO hive.metastore: [HiveServer2-Handler-Pool: Thread-65]: Trying to connect to metastore with URI thrift://host.company.com:9083 2018-02-26 07:02:44,892 INFO hive.metastore: [HiveServer2-Handler-Pool: Thread-65]: Connected to metastore. 2018-02-26 07:02:44,892 INFO hive.metastore: [HiveServer2-Handler-Pool: Thread-65]: Opened a connection to metastore, current connections: 2
Please simplify to something like:
2018-02-26 07:02:44,892 INFO hive.metastore: [HiveServer2-Handler-Pool: Thread-65]: Opened a connection to the Metastore Server (URI thrift://host.company.com:9083), current connections: 2 ... or ... 2018-02-26 07:02:44,892 ERROR hive.metastore: [HiveServer2-Handler-Pool: Thread-65]: Failed to connect to the Metastore Server (URI thrift://host.company.com:9083)