Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2564

Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v2.0.0
    • Fix Version/s: v2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              mahongbin Hongbin Ma
              Reporter:
              liyang.gmt8@gmail.com liyang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: