drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudheesh Katkam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3982) RESET ALL command - IOException: Error getting user info for current user, anonymous
Date Wed, 28 Oct 2015 03:45:27 GMT

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

Sudheesh Katkam commented on DRILL-3982:
----------------------------------------

Assigning back to [~khfaraaz] for further investigation.

> RESET ALL command - IOException: Error getting user info for current user, anonymous
> ------------------------------------------------------------------------------------
>
>                 Key: DRILL-3982
>                 URL: https://issues.apache.org/jira/browse/DRILL-3982
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 1.3.0
>         Environment: 4 node cluster CentOS
>            Reporter: Khurram Faraaz
>            Assignee: Khurram Faraaz
>            Priority: Critical
>
> ALTER SYSTEM RESET ALL command reports IOException when impersonation is enabled.
> git.commit.id=fab061e6
> {code}
> Details of user that connected to Drill
> [root@centos-01 bin]# id
> uid=0(root) gid=0(root) groups=0(root)
> [root@centos-01 bin]# ./sqlline -u "jdbc:drill:schema=dfs.tmp"
> apache drill 1.3.0-SNAPSHOT
> "say hello to my little drill"
> 0: jdbc:drill:schema=dfs.tmp> ALTER SYSTEM RESET ALL;
> Error: SYSTEM ERROR: IOException: Error getting user info for current user, anonymous
> [Error Id: de36ec03-b4c1-4b3a-a726-ae49f068fae4 on centos-02.qa.lab:31010] (state=,code=0)
> {code}
> Stack trace from drillbit.log
> {code}
> 2015-10-26 23:48:40,975 [29d1443b-cff4-f7d2-9083-40a5c38f8db2:foreman] ERROR o.a.drill.exec.work.foreman.Foreman
- SYSTEM ERROR: IOException: Error getting user info for current user, anonymous
> [Error Id: de36ec03-b4c1-4b3a-a726-ae49f068fae4 on centos-02.qa.lab:31010]
> org.apache.drill.common.exceptions.UserException: SYSTEM ERROR: IOException: Error getting
user info for current user, anonymous
> [Error Id: de36ec03-b4c1-4b3a-a726-ae49f068fae4 on centos-02.qa.lab:31010]
>         at org.apache.drill.common.exceptions.UserException$Builder.build(UserException.java:534)
~[drill-common-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman$ForemanResult.close(Foreman.java:742)
[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent(Foreman.java:841)
[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.processEvent(Foreman.java:786)
[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.common.EventProcessor.sendEvent(EventProcessor.java:73) [drill-common-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman$StateSwitch.moveToState(Foreman.java:788)
[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman.moveToState(Foreman.java:894) [drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:255) [drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_85]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_85]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
> Caused by: org.apache.drill.exec.work.foreman.ForemanException: Unexpected exception
during fragment initialization: Failed to create schema tree: Error getting user info for
current user, anonymous
>         ... 4 common frames omitted
> Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: Failed to create
schema tree: Error getting user info for current user, anonymous
>         at org.apache.drill.exec.ops.QueryContext.getRootSchema(QueryContext.java:171)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.ops.QueryContext.getRootSchema(QueryContext.java:153)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.ops.QueryContext.getRootSchema(QueryContext.java:141)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.ops.QueryContext.getNewDefaultSchema(QueryContext.java:127)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.planner.sql.DrillSqlWorker.<init>(DrillSqlWorker.java:91)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman.runSQL(Foreman.java:903) [drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:244) [drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         ... 3 common frames omitted
> Caused by: java.io.IOException: Error getting user info for current user, anonymous
>         at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:612) ~[maprfs-4.1.0-mapr.jar:4.1.0-mapr]
>         at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:649) ~[maprfs-4.1.0-mapr.jar:4.1.0-mapr]
>         at com.mapr.fs.MapRFileSystem.listMapRStatus(MapRFileSystem.java:1376) ~[maprfs-4.1.0-mapr.jar:4.1.0-mapr]
>         at com.mapr.fs.MapRFileSystem.listStatus(MapRFileSystem.java:1436) ~[maprfs-4.1.0-mapr.jar:4.1.0-mapr]
>         at com.mapr.fs.MapRFileSystem.listStatus(MapRFileSystem.java:78) ~[maprfs-4.1.0-mapr.jar:4.1.0-mapr]
>         at org.apache.drill.exec.store.dfs.DrillFileSystem.listStatus(DrillFileSystem.java:520)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.store.dfs.WorkspaceSchemaFactory.accessible(WorkspaceSchemaFactory.java:135)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.store.dfs.FileSystemSchemaFactory$FileSystemSchema.<init>(FileSystemSchemaFactory.java:78)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.store.dfs.FileSystemSchemaFactory.registerSchemas(FileSystemSchemaFactory.java:65)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.store.dfs.FileSystemPlugin.registerSchemas(FileSystemPlugin.java:132)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.store.StoragePluginRegistry$DrillSchemaFactory.registerSchemas(StoragePluginRegistry.java:335)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         at org.apache.drill.exec.ops.QueryContext.getRootSchema(QueryContext.java:164)
~[drill-java-exec-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
>         ... 9 common frames omitted
> {code}
> Impersonation was enabled on all nodes of cluster
> {code}
> [root@centos-01 ~]# clush -a tail -n 5 /opt/mapr/drill/drill-1.3.0/conf/drill-override.conf
> :   impersonation: {
> :        enabled: true,
> :        max_chained_user_hops: 3
> :       }
> : }
> :   impersonation: {
> :        enabled: true,
> :        max_chained_user_hops: 3
> :       }
> : }
> :   impersonation: {
> :        enabled: true,
> :        max_chained_user_hops: 3
> :       }
> : }
> :   impersonation: {
> :        enabled: true,
> :        max_chained_user_hops: 3
> :       }
> : }
> {code}
> {code}
> root@centos-01 conf]# clush -a grep "MAPR_IMPERSONATION_ENABLED" /opt/mapr/drill/drill-1.3.0/conf/drill-env.sh
> : export MAPR_IMPERSONATION_ENABLED=true
> : export MAPR_IMPERSONATION_ENABLED=true
> : export MAPR_IMPERSONATION_ENABLED=true
> : export MAPR_IMPERSONATION_ENABLED=true
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message