[ 
https://issues.apache.org/jira/browse/DRILL-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhishek Girish updated DRILL-5426:
-----------------------------------
    Attachment: drillbit.log.txt

> 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.9.0, 1.10.0, 1.11.0
>         Environment: DFS connected to MapR FileSystem
>            Reporter: Abhishek Girish
>            Priority: Minor
>              Labels: impersonation, usability
>         Attachments: drillbit.log.txt
>
>
> 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)

Reply via email to