hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (Jira)" <>
Subject [jira] [Commented] (HIVE-18882) Do Not Hide Exception in Hive Metastore Client Connection
Date Fri, 15 May 2020 06:33:00 GMT


Hive QA commented on HIVE-18882:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 17269 tests passed

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase

This message is automatically generated.

ATTACHMENT ID: 13002957 - PreCommit-HIVE-Build

> Do Not Hide Exception in Hive Metastore Client Connection
> ---------------------------------------------------------
>                 Key: HIVE-18882
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>    Affects Versions: 3.0.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: noob
>         Attachments: HIVE-18882.1.patch, HIVE-18882.2.patch, HIVE-18882.3.patch, HIVE-18882.4.patch,
HIVE-18882.5.patch, HIVE-18882.5.patch, HIVE-18882.patch
> []
> {code:java}
> if (LOG.isDebugEnabled()) {
>   LOG.warn("Failed to connect to the MetaStore Server...", e);
> } else {
>   // Don't print full exception trace if DEBUG is not on.
>   LOG.warn("Failed to connect to the MetaStore Server...");
> }
> {code}
> I do not understand the logic here.  I always want to see the reason for the failure.
Otherwise, I do not know why it is failing unless I restart the server with debug logging
enabled.  By that point, the error may have cleared.  Please just use the Exception in the
WARN output without adding confusing logging for debugging.  This is never an expected behavior...
that enabling debug would change a _warn_ level log message.
> Also... please remove the ellipsis, they add no value. 

This message was sent by Atlassian Jira

View raw message