You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2017/04/10 18:58:41 UTC

[jira] [Created] (DRILL-5426) Queries fail with "RESOURCE ERROR: Failed to create schema tree." when Impersonation is enabled

Abhishek Girish created DRILL-5426:
--------------------------------------

             Summary: Queries fail with "RESOURCE ERROR: Failed to create schema tree." when Impersonation is enabled
                 Key: DRILL-5426
                 URL: https://issues.apache.org/jira/browse/DRILL-5426
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - CLI, Client - HTTP, Client - JDBC, Tools, Build & Test
    Affects Versions: 1.10.0, 1.9.0, 1.11.0
         Environment: DFS connected to MapR FileSystem
            Reporter: Abhishek Girish
            Priority: Minor


When Drillbit impersonation is enabled and clients connect without specifying the username (and password), queries fails to execute:

{code}
# $DRILL_HOME/bin/sqlline -u "jdbc:drill:zk=localhost:5181" 
sqlline> select * from sys.drillbits;
User Error Occurred
org.apache.drill.common.exceptions.UserException: RESOURCE ERROR: Failed to create schema tree.
{code} 
 
The error disappears when username is specified:
{code}
# $DRILL_HOME/bin/sqlline -u "jdbc:drill:zk=localhost:5181" -n root -p root
sqlline> select * from sys.drillbits;
SUCCESS
{code}

Log attached. 



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