drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Girish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-5426) Queries fail with "RESOURCE ERROR: Failed to create schema tree." when Impersonation is enabled
Date Mon, 10 Apr 2017 18:58:41 GMT
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)

Mime
View raw message