fengYu created KYLIN-1169:
-----------------------------

             Summary: error while requesting tables_and_columns in project 
'_NULL'
                 Key: KYLIN-1169
                 URL: https://issues.apache.org/jira/browse/KYLIN-1169
             Project: Kylin
          Issue Type: Bug
    Affects Versions: v1.0
            Reporter: fengYu


I deploy a new kylin env, and open web UI at the first time, I find error logs:
[http-bio-7070-exec-2]:[2015-11-25 
15:56:14,486][ERROR][org.apache.kylin.rest.controller.BasicController.handleError(BasicController.java:46)]
 - 
java.lang.IllegalArgumentException: Project '_NULL' does not exist;
        at 
org.apache.kylin.metadata.project.ProjectL2Cache.loadCache(ProjectL2Cache.java:168)
        at 
org.apache.kylin.metadata.project.ProjectL2Cache.getCache(ProjectL2Cache.java:155)
        at 
org.apache.kylin.metadata.project.ProjectL2Cache.listExposedTables(ProjectL2Cache.java:72)
        at 
org.apache.kylin.metadata.project.ProjectManager.listExposedTables(ProjectManager.java:292)
        at 
org.apache.kylin.query.schema.OLAPSchemaFactory.createTempOLAPJson(OLAPSchemaFactory.java:72)
        at 
org.apache.kylin.rest.service.BasicService.getOLAPDataSource(BasicService.java:107)
        at 
org.apache.kylin.rest.service.QueryService.getMetadata(QueryService.java:278)
        at 
org.apache.kylin.rest.service.QueryService.getMetadata(QueryService.java:101)
        at 
org.apache.kylin.rest.service.QueryService$$FastClassByCGLIB$$4957273f.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618)
        at 
org.apache.kylin.rest.service.QueryService$$EnhancerByCGLIB$$b691a967.getMetadata(<generated>)
        at 
org.apache.kylin.rest.controller.QueryController.getMetadata(QueryController.java:154)


I find that, if I do not have any any project, web UI GET 
'http://ip:port/kylin/api/tables_and_columns?project=_null', this will cause 
IllegalArgumentException and maybe you can fix the error



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

Reply via email to