[
https://issues.apache.org/jira/browse/PHOENIX-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900488#comment-16900488
]
Mehdi Salarkia commented on PHOENIX-5424:
-----------------------------------------
[~swaroopa]
Looking at your stack trace it seems like you are running from intelliJ idea
which I could have very env specific set up.
I would suggest running all the tests either on a Jenkins server and post a
link or at the very least via
{code:java}
mvn clean verify
{code}
Another question that I have is which branch are you reporting this bug for?
the master branch is failing for me with following error.
{code:java}
[ERROR] Failed to execute goal on project queryserver: Could not resolve
dependencies for project org.apache.phoenix:queryserver:jar:1.0.0-SNAPSHOT: The
following artifacts could not be resolved:
org.apache.phoenix:phoenix-core:jar:4.15.0-HBase-1.3-SNAPSHOT,
org.apache.phoenix:phoenix-core:jar:tests:4.15.0-HBase-1.3-SNAPSHOT: Failure to
find org.apache.phoenix:phoenix-core:jar:4.15.0-HBase-1.3-SNAPSHOT in
https://repository.apache.org/content/repositories/releases/ was cached in the
local repository, resolution will not be reattempted until the update interval
of apache release has elapsed or updates are forced -> [Help 1]
{code}
And finally try to revert my change and see if you can reproduce the issue
{code:java}
git revert e3d28beef5a466c7562ef5a3d65119c1ed241d79
mvn clean verify{code}
> Fix HttpParamImpersonationQueryServerIT
> ---------------------------------------
>
> Key: PHOENIX-5424
> URL: https://issues.apache.org/jira/browse/PHOENIX-5424
> Project: Phoenix
> Issue Type: Bug
> Reporter: Swaroopa Kadam
> Assignee: Mehdi Salarkia
> Priority: Blocker
>
> Getting following exception
>
> 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
> [email protected]:
> org.apache.hadoop.security.authentication.util.KerberosName$NoMatchingRule:
> No rules applied to [email protected]
> 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)