[ 
https://issues.apache.org/jira/browse/HIVE-20041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533882#comment-16533882
 ] 

Gopal V commented on HIVE-20041:
--------------------------------

The patch is ready, will look at filing a flaky-test JIRA for the druid timeout.

{code}
2018-07-05T02:33:22,883  WARN [a1043130-e1f6-4bdc-a880-9f641efce907 main] 
common.RetryUtils: Failed on try 7, retrying in 36,587ms.
org.skife.jdbi.v2.exceptions.UnableToObtainConnectionException: 
java.sql.SQLException: Cannot create PoolableConnectionFactory 
(java.net.ConnectException : Error connecting to server localhost on port 1,527 
with message Connection refused.)
    at org.skife.jdbi.v2.DBI.open(DBI.java:230) 
~[hive-druid-handler-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
    at org.skife.jdbi.v2.DBI.withHandle(DBI.java:279) 
~[hive-druid-handler-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
    at 
org.apache.hive.druid.io.druid.metadata.SQLMetadataConnector$2.call(SQLMetadataConnector.java:135)
 ~[hive-druid-handler-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
    at 
org.apache.hive.druid.io.druid.java.util.common.RetryUtils.retry(RetryUtils.java:63)
 [hive-druid-handler-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
    at 
org.apache.hive.druid.io.druid.java.util.common.RetryUtils.retry(RetryUtils.java:81)
 [hive-druid-handler-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
{code}

Looks to be a derby connection failure, not an actual result failure.

> ResultsCache: Improve loggng for concurrent queries
> ---------------------------------------------------
>
>                 Key: HIVE-20041
>                 URL: https://issues.apache.org/jira/browse/HIVE-20041
>             Project: Hive
>          Issue Type: Improvement
>          Components: Diagnosability
>            Reporter: Gopal V
>            Assignee: Laszlo Bodor
>            Priority: Minor
>         Attachments: HIVE-20041.01.patch, HIVE-20041.02.patch, 
> HIVE-20041.03.patch, HIVE-20041.04.patch
>
>
> The logging for QueryResultsCache ends up printing information without 
> context, like 
> {code}
> 2018-06-30T17:48:45,502  INFO [HiveServer2-Background-Pool: Thread-166] 
> results.QueryResultsCache: Waiting on pending cacheEntry
> {code}
> {code}
> 2018-06-30T17:50:17,963  INFO [HiveServer2-Background-Pool: Thread-145] 
> ql.Driver: savedToCache: true
> {code}
> The previous lines for this are in DEBUG level, so the logging ends up being 
> useless at INFO level to debug.



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

Reply via email to