hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELUGA BEHR (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-18884) Simplify Logging in Hive Metastore Client
Date Mon, 12 Mar 2018 19:26:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-18884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

BELUGA BEHR updated HIVE-18884:
-------------------------------
    Description: 
https://github.com/apache/hive/blob/4047befe48c8f762c58d8854e058385c1df151c6/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java

The current logging is:

{code}
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
{code}

Please simplify to something like:

{code}
2018-02-26 07:02:44,892  INFO  hive.metastore: [HiveServer2-Handler-Pool: Thread-65]: Opened
a connection to metastore (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)
{code}

  was:
https://github.com/apache/hive/blob/4047befe48c8f762c58d8854e058385c1df151c6/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java

The current logging is:

{code}
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
{code}

Please simplify to something like:

{code}
2018-02-26 07:02:44,892  INFO  hive.metastore: [HiveServer2-Handler-Pool: Thread-65]: Opened
a connection to metastore (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 Sserver (URI thrift://host.company.com:9083)
{code}


> Simplify Logging in Hive Metastore Client
> -----------------------------------------
>
>                 Key: HIVE-18884
>                 URL: https://issues.apache.org/jira/browse/HIVE-18884
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>    Affects Versions: 3.0.0
>            Reporter: BELUGA BEHR
>            Assignee: Andrew Sherman
>            Priority: Minor
>              Labels: noob
>
> https://github.com/apache/hive/blob/4047befe48c8f762c58d8854e058385c1df151c6/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
> The current logging is:
> {code}
> 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
> {code}
> Please simplify to something like:
> {code}
> 2018-02-26 07:02:44,892  INFO  hive.metastore: [HiveServer2-Handler-Pool: Thread-65]:
Opened a connection to metastore (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)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message