??build cube????????java.lang.OutOfMemoryError: unable to create new native thread

2017-04-11 Thread 35925138
kylin1.6.0
??build 
cube
2017-04-12 13:43:44,254 ERROR [http-bio-7070-exec-8] 
controller.JobController:135 : java.lang.OutOfMemoryError: unable to create new 
native thread
java.lang.RuntimeException: java.lang.OutOfMemoryError: unable to create new 
native thread
at 
org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:208)
at 
org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:320)
at 
org.apache.hadoop.hbase.client.ClientScanner.loadCache(ClientScanner.java:401)
at 
org.apache.hadoop.hbase.client.ClientScanner.next(ClientScanner.java:364)
at 
org.apache.hadoop.hbase.client.AbstractClientScanner$1.hasNext(AbstractClientScanner.java:94)
at 
org.apache.kylin.storage.hbase.HBaseResourceStore.visitFolder(HBaseResourceStore.java:138)
at 
org.apache.kylin.storage.hbase.HBaseResourceStore.getAllResourcesImpl(HBaseResourceStore.java:168)
at 
org.apache.kylin.common.persistence.ResourceStore.getAllResources(ResourceStore.java:174)
at 
org.apache.kylin.job.dao.ExecutableDao.getJobs(ExecutableDao.java:129)
at 
org.apache.kylin.job.manager.ExecutableManager.getAllExecutables(ExecutableManager.java:190)
at 
org.apache.kylin.rest.service.BasicService.listAllCubingJobs(BasicService.java:104)
at 
org.apache.kylin.rest.service.JobService.listCubeJobInstance(JobService.java:131)

at 
org.apache.kylin.rest.service.JobService.listAllJobs(JobService.java:103)
at 
org.apache.kylin.rest.service.JobService.listAllJobs(JobService.java:84)
at 
org.apache.kylin.rest.service.JobService$$FastClassBySpringCGLIB$$83a44b2a.invoke()
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.JobService$$EnhancerBySpringCGLIB$$635eae93.listAllJobs()
at 
org.apache.kylin.rest.controller.JobController.list(JobController.java:133)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:743)
at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:672)
   at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:82)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at 

[jira] [Created] (KYLIN-2542) Use mvn package instead of mvn install in package scripts

2017-04-11 Thread Dong Li (JIRA)
Dong Li created KYLIN-2542:
--

 Summary: Use mvn package instead of mvn install in package scripts
 Key: KYLIN-2542
 URL: https://issues.apache.org/jira/browse/KYLIN-2542
 Project: Kylin
  Issue Type: Bug
Reporter: Dong Li
Assignee: Dong Li


When we build binary packages for test, we do not need to update local mvn 
repository. So we can use mvn clean package to replace mvn clean install.



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


Re: Creating Snowflake schema / Link 2 Cubes

2017-04-11 Thread ShaoFeng Shi
Hi Bart,

Could you share the JSON of your data model and cube definition? The
picture you shared is unclear and we couldn't get the detail information.
The error message (in problem.jpg) is complaining for a rare case (rowkey
columns not matched with dimension columns); Did you remove a dimension
which previously be added?

Snowflake model is supported since 2.0 (beta now). You need specify each
table's type (fact table or lookup table) and their join conditions when
creating the model.

2017-04-10 20:25 GMT+08:00 Bart :

> OK, guys. I've tried everything I could to build a snowflake.
>
> I have a database looking like this:
>
> Date (DataData) *->* Fact (FaktSprzedazy) *<-* Book (Ksiazka) <- Author
> (Autor)
>
> I've created a new model for that. Do I have to put a lookup tables? I
> deduced it by the descriptions that are next to that section. Then I tried
> to build my cube. Here is my error;
>
> 
>
> Probably I added a wrong lookup table (the third one on the list). But... I
> can't see other option to join two dimensions together which are the schema
> of snowflake (like a database above). Should I do it on my model level or
> building cube level?
>
> --
> View this message in context: http://apache-kylin.74782.x6.
> nabble.com/Creating-Snowflake-schema-Link-2-Cubes-tp7602p7614.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>



-- 
Best regards,

Shaofeng Shi 史少锋