Hi
I am trying to create a cube with 15 dimensions and 7 measures, But I
get IllegalArgumentException when saving this cube , Web UI has been
blocking for last 20 minutes. I check log find those :
[http-bio-7070-exec-2]:[2015-09-09
17:05:28,980][INFO][org.apache.kylin.rest.controller.CacheController.wipeCache(CacheController.java:64)]
- wipe cache type: DATA_MODEL event:CREATE name:NOS_CUBE_STATISTICS
[http-bio-7070-exec-2]:[2015-09-09
17:05:28,986][DEBUG][org.apache.kylin.rest.service.BasicService.cleanDataCache(BasicService.java:140)]
- clean query cache...
[http-bio-7070-exec-2]:[2015-09-09
17:05:28,987][DEBUG][org.apache.kylin.rest.filter.KylinApiFilter.logRequest(KylinApiFilter.java:120)]
- REQUEST: REQUESTER=;REQ_TIME=PDT 2015-09-09
02:05:28;URI=/kylin/api/cache/data_model/NOS_CUBE_STATISTICS/create;METHOD=PUT;QUERY_STRING=null;PAYLOAD=;RESP_STATUS=200;
[http-bio-7070-exec-7]:[2015-09-09
17:05:29,009][DEBUG][org.apache.kylin.common.persistence.ResourceStore.putResource(ResourceStore.java:195)]
- Saving resource /cube_desc/NOS_CUBE_STATISTICS.json (Store
kylin_metadata_1.0@hbase)
[pool-8-thread-1]:[2015-09-09
17:05:29,022][INFO][org.apache.kylin.common.restclient.Broadcaster$1.run(Broadcaster.java:74)]
- new broadcast event:BroadcastEvent{type=cube_desc,
name=NOS_CUBE_STATISTICS, action=create}
[http-bio-7070-exec-2]:[2015-09-09
17:05:29,029][INFO][org.apache.kylin.rest.controller.CacheController.wipeCache(CacheController.java:64)]
- wipe cache type: CUBE_DESC event:CREATE name:NOS_CUBE_STATISTICS
[http-bio-7070-exec-2]:[2015-09-09
17:05:29,029][INFO][org.apache.kylin.cube.CubeDescManager.<init>(CubeDescManager.java:91)]
- Initializing CubeDescManager with config kylin_metadata_1.0@hbase
[http-bio-7070-exec-2]:[2015-09-09
17:05:29,030][INFO][org.apache.kylin.cube.CubeDescManager.reloadAllCubeDesc(CubeDescManager.java:192)]
- Reloading Cube Metadata from folder
kylin_metadata_1.0(key='/cube_desc')@kylin_metadata_1.0@hbase
[http-bio-7070-exec-2]:[2015-09-09
17:05:29,101][DEBUG][org.apache.kylin.cube.CubeDescManager.reloadAllCubeDesc(CubeDescManager.java:217)]
- Loaded 3 Cube(s)
[http-bio-7070-exec-2]:[2015-09-09
17:05:29,108][DEBUG][org.apache.kylin.rest.service.BasicService.cleanDataCache(BasicService.java:140)]
- clean query cache...
[http-bio-7070-exec-2]:[2015-09-09
17:05:29,109][DEBUG][org.apache.kylin.rest.filter.KylinApiFilter.logRequest(KylinApiFilter.java:120)]
- REQUEST: REQUESTER=;REQ_TIME=PDT 2015-09-09
02:05:29;URI=/kylin/api/cache/cube_desc/NOS_CUBE_STATISTICS/create;METHOD=PUT;QUERY_STRING=null;PAYLOAD=;RESP_STATUS=200;
[pool-6-thread-1]:[2015-09-09
17:05:40,188][INFO][org.apache.kylin.job.impl.threadpool.DefaultScheduler$FetcherRunner.run(DefaultScheduler.java:112)]
- Job Fetcher: 0 running, 0 actual running, 0 ready, 13 others
^[[B^[[A[pool-6-thread-1]:[2015-09-09
17:06:40,105][INFO][org.apache.kylin.job.impl.threadpool.DefaultScheduler$FetcherRunner.run(DefaultScheduler.java:112)]
- Job Fetcher: 0 running, 0 actual running, 0 ready, 13 others
[http-bio-7070-exec-10]:[2015-09-09
17:06:43,297][DEBUG][org.apache.kylin.rest.filter.KylinApiFilter.logRequest(KylinApiFilter.java:120)]
- REQUEST: REQUESTER=ADMIN;REQ_TIME=PDT 2015-09-09
02:06:43;URI=/kylin/api/projects;METHOD=GET;QUERY_STRING=null;PAYLOAD=;RESP_STATUS=200;
[http-bio-7070-exec-3]:[2015-09-09
17:06:43,299][DEBUG][org.apache.kylin.rest.service.AdminService.getConfigAsString(AdminService.java:90)]
- Get Kylin Runtime Config
[http-bio-7070-exec-3]:[2015-09-09
17:06:43,301][DEBUG][org.apache.kylin.rest.filter.KylinApiFilter.logRequest(KylinApiFilter.java:120)]
- REQUEST: REQUESTER=ADMIN;REQ_TIME=PDT 2015-09-09
02:06:43;URI=/kylin/api/admin/config;METHOD=GET;QUERY_STRING=null;PAYLOAD=;RESP_STATUS=200;
[http-bio-7070-exec-8]:[2015-09-09
17:06:43,304][DEBUG][org.apache.kylin.rest.filter.KylinApiFilter.logRequest(KylinApiFilter.java:120)]
- REQUEST: REQUESTER=ADMIN;REQ_TIME=PDT 2015-09-09
02:06:43;URI=/kylin/api/user/authentication;METHOD=GET;QUERY_STRING=null;PAYLOAD=;RESP_STATUS=200;
[http-bio-7070-exec-9]:[2015-09-09
17:06:43,372][INFO][org.apache.kylin.metadata.project.ProjectL2Cache.loadCache(ProjectL2Cache.java:162)]
- Loading L2 project cache for _null
[http-bio-7070-exec-9]:[2015-09-09
17:06:43,373][ERROR][org.apache.kylin.rest.controller.TableController.getHiveTables(TableController.java:74)]
- Failed to deal with the request.
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.listDefinedTables(ProjectL2Cache.java:63)
at
org.apache.kylin.metadata.project.ProjectManager.listDefinedTables(ProjectManager.java:288)
at
org.apache.kylin.rest.controller.TableController.getHiveTables(TableController.java:72)
at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
at
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
cube infomations in json like this :
{
"name": "NOS_CUBE_STATISTICS",
"description": "",
"dimensions": [
...............
],
"measures": [
...............
],
"rowkey": {
...............
],
"aggregation_groups": [
[
..............
]
]
},
"notify_list": [],
"capacity": "",
"hbase_mapping": {
"column_family": [
{
"name": "f1",
"columns": [
{
"qualifier": "m",
"measure_refs": [
"_COUNT_",
"DataSize",
"UploaderCostTime",
"LbsCostTime",
"UploaderRetryCount",
"ChunkRetryCount",
"QueryRetryCount"
]
}
]
}
]
},
"retentionRange": "0",
"project": "NOS_ANALYTICS_PROJECT",
"model_name": "NOS_CUBE_STATISTICS"
}