[
https://issues.apache.org/jira/browse/KYLIN-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608086#comment-14608086
]
Shaofeng SHI commented on KYLIN-865:
------------------------------------
Two bugs here: one is the RealizationRegistry cache was never flushed even if
admin click "Reload metadata", this will cause the RealizationRegistry instance
holding an orphan CubeManager instance, so reports "cube not found" error; The
other is the Spring query cache evict didn’t work before (see
http://forum.spring.io/forum/spring-projects/container/119059-cacheevict-not-working-when-there-s-cacheable-in-the-same-class);
Now they were fixed in the 0.7-staging branch;
> Cube has been built but couldn't query; In log it said "Realization
> 'CUBE.CUBE_NAME' defined under project PROJECT_NAME is not found
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-865
> URL: https://issues.apache.org/jira/browse/KYLIN-865
> Project: Kylin
> Issue Type: Bug
> Components: General
> Affects Versions: v0.7.1
> Reporter: Shaofeng SHI
> Fix For: v0.7.2
>
>
> We have a cube which has been successfully built, on Web UI can see it; But
> in the "Query" panel, the table of this cube wasn't appeared; Type a SQL to
> query, it reports error, in log see:
> [http-bio-8080-exec-5]:[2015-06-30
> 01:21:59,605][INFO][org.apache.kylin.metadata.project.ProjectL2Cache.loadCache(ProjectL2Cache.java:154)]
> - Loading L2 project cache for default
> [http-bio-8080-exec-5]:[2015-06-30
> 01:21:59,605][WARN][org.apache.kylin.metadata.project.ProjectL2Cache.loadCache(ProjectL2Cache.java:179)]
> - Realization 'CUBE.CUBE_NAME' defined under project 'default' is not found
> [http-bio-8080-exec-5]:[2015-06-30
> 01:21:59,606][WARN][org.apache.kylin.metadata.project.ProjectL2Cache.loadCache(ProjectL2Cache.java:179)]
> - Realization 'CUBE.CUBE_NAME' defined under project 'default' is not found
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)