drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5496) Must restart drillbits whenever a secure Hive metastore is restarted
Date Mon, 15 May 2017 18:33:04 GMT

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

ASF GitHub Bot commented on DRILL-5496:
---------------------------------------

Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/833#discussion_r116559151
  
    --- Diff: contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/schema/HiveSchemaFactory.java
---
    @@ -105,6 +105,20 @@ private boolean needToImpersonateReadingData() {
         return isDrillImpersonationEnabled && isHS2DoAsSet;
       }
     
    +  /**
    +   * Close this schema factory in preparation for retrying. Attempt to close
    +   * connections, but just ignore any errors.
    +   */
    +
    +  public void close() {
    +    try {
    +      processUserMetastoreClient.close();
    +    } catch (Exception e) { }
    --- End diff --
    
    No real need. The problem is not that the close fails for whatever reason, it is higher
up in the food chain.


> Must restart drillbits whenever a secure Hive metastore is restarted
> --------------------------------------------------------------------
>
>                 Key: DRILL-5496
>                 URL: https://issues.apache.org/jira/browse/DRILL-5496
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>             Fix For: 1.11.0
>
>
> DRILL-4964: "Drill fails to connect to hive metastore after hive metastore is restarted
unless drillbits are restarted also" attempted to fix a bug in Drill in which Drill hangs
if Hive is restarted. Now, we see that all subsequent "show schemas" queries fail.
> Steps to repro:
> 1. Build a secure cluster (we used MapR)
> 2. Install Hive and Drill services
> 3. Configure drill impersonation and authentication
> 4. Restart hivemeta service
> 5. Connect to drill and execute query involving hive storage, issue occurs
> 6. Restart the drill-bits services and execute the query, issue is no longer hit
> The problem occurs in the same place as the earlier fix, but might represent a slightly
different use case: in this case the connection is secure.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message