phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swaroopa Kadam (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-5423) Fix SecureQueryServerIT
Date Tue, 06 Aug 2019 19:54:00 GMT

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

Swaroopa Kadam resolved PHOENIX-5423.
-------------------------------------
    Resolution: Not A Bug

> Fix SecureQueryServerIT 
> ------------------------
>
>                 Key: PHOENIX-5423
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5423
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Swaroopa Kadam
>            Assignee: Mehdi Salarkia
>            Priority: Blocker
>
> java.io.IOException: failure to login
> at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:823)
>  at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:760)
>  at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:633)
>  at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2812)
>  at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2802)
>  at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2668)
>  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371)
>  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:170)
>  at org.apache.hadoop.hbase.fs.HFileSystem.<init>(HFileSystem.java:84)
>  at org.apache.hadoop.hbase.fs.HFileSystem.get(HFileSystem.java:399)
>  at org.apache.hadoop.hbase.HBaseTestingUtility.getTestFileSystem(HBaseTestingUtility.java:3159)
>  at org.apache.hadoop.hbase.HBaseTestingUtility.getNewDataTestDirOnTestFS(HBaseTestingUtility.java:535)
>  at org.apache.hadoop.hbase.HBaseTestingUtility.setupDataTestDirOnTestFS(HBaseTestingUtility.java:524)
>  at org.apache.hadoop.hbase.HBaseTestingUtility.getDataTestDirOnTestFS(HBaseTestingUtility.java:497)
>  at org.apache.hadoop.hbase.HBaseTestingUtility.getDataTestDirOnTestFS(HBaseTestingUtility.java:511)
>  at org.apache.hadoop.hbase.HBaseTestingUtility.createDirsAndSetProperties(HBaseTestingUtility.java:688)
>  at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:614)
>  at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:580)
>  at org.apache.phoenix.end2end.HttpParamImpersonationQueryServerIT.setUp(HttpParamImpersonationQueryServerIT.java:253)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>  at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>  at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
>  at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
>  at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
>  at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
>  at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
> Caused by: javax.security.auth.login.LoginException: java.lang.IllegalArgumentException:
Illegal principal name s.kadam@INTERNAL.SALESFORCE.COM: org.apache.hadoop.security.authentication.util.KerberosName$NoMatchingRule:
No rules applied to s.kadam@INTERNAL.SALESFORCE.COM
>  at org.apache.hadoop.security.UserGroupInformation$HadoopLoginModule.commit(UserGroupInformation.java:199)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
>  at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
>  at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
>  at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>  at javax.security.auth.login.LoginContext.login(LoginContext.java:588)
>  at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:798)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message