You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "liyang (JIRA)" <ji...@apache.org> on 2017/04/25 06:39:04 UTC

[jira] [Created] (KYLIN-2564) Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance

liyang created KYLIN-2564:
-----------------------------

             Summary: Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance
                 Key: KYLIN-2564
                 URL: https://issues.apache.org/jira/browse/KYLIN-2564
             Project: Kylin
          Issue Type: Bug
    Affects Versions: v2.0.0
            Reporter: liyang


In a new Kylin instance, new metadata, we met following exception when creating the very first project.

2017-04-25 14:04:51,997 ERROR [http-bio-7070-exec-10 ProjectController:218]: Failed to deal with the request.
org.springframework.security.core.userdetails.UsernameNotFoundException: User ADMIN does not exist. Please make sure the user has logged in before
	at org.apache.kylin.rest.service.AclService.updateAcl(AclService.java:308)
	at org.apache.kylin.rest.service.AccessService.grant(AccessService.java:119)
	at org.apache.kylin.rest.service.AccessService.init(AccessService.java:81)
	at org.apache.kylin.rest.service.AccessService$$FastClassBySpringCGLIB$$91550c7f.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629)
	at org.apache.kylin.rest.service.AccessService$$EnhancerBySpringCGLIB$$594ff853.init(<generated>)
	at org.apache.kylin.rest.service.ProjectService.createProject(ProjectService.java:64)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Re: [jira] [Created] (KYLIN-2564) Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance

Posted by Mario Copperfield <xw...@gmail.com>.
The problem is
Got "UsernameNotFoundException: User XXX does not exist"

On 5 Sep 2017, 14:34 +0800, Copperfield <xw...@gmail.com>, wrote:
> I also meet this problem when I use user:ADMIN to grant query privilege to
> other user
> I use kylin2.0.0, but the other user can login successfully.
> Does someone have idea?
>
> --
> Sent from: http://apache-kylin.74782.x6.nabble.com/

Re: [jira] [Created] (KYLIN-2564) Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance

Posted by Copperfield <xw...@gmail.com>.
I also meet this problem when I use user:ADMIN to grant query privilege to
other user
I use kylin2.0.0, but the other user can login successfully.
Does someone have idea?

--
Sent from: http://apache-kylin.74782.x6.nabble.com/