Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.9.0, 1.10.0, 1.11.0
-
None
-
DFS connected to MapR FileSystem
Description
When Drillbit impersonation is enabled and clients connect without specifying the username (and password), queries fails to execute:
# $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.
The error disappears when username is specified:
# $DRILL_HOME/bin/sqlline -u "jdbc:drill:zk=localhost:5181" -n root -p root
sqlline> select * from sys.drillbits;
SUCCESS
Log attached.