我已经安装了带有mapr发行版的kylin,在某种程度上一切都正常。我运行了sample.sh脚本,现在有了“learning\u kylin”项目,我可以在多维数据集上运行“build”,作业报告100%完成。
但是。。执行此操作后,显示器始终将我的多维数据集显示为0.0字节,如果从文档中运行示例查询,则会出现“timeout visiting cube”错误。
我注意到的另一件奇怪的事情是,“构建”对话框显示的是今天的开始日期,我无法编辑它。不知道这是否与我所看到的怪异有什么关系,但有人能告诉我,Kylin是如何决定把什么价值放在那里的吗?
无论如何,任何关于如何调试的想法都是非常感谢的。我检查了日志,但没有发现任何对我来说非常有用的东西。以下是我的发现:
==========================[QUERY]===============================
SQL: select part_dt, sum(price) as total_selled, count(distinct
seller_id) as sellers from kylin_sales group by part_dt order by
part_dt
User: ADMIN
Success: false
Duration: 0.0
Project: learn_kylin
Realization Names: [kylin_sales_cube]
Cuboid Ids: [64]
Total scan count: 0
Result row count: 0
Accept Partial: true
Is Partial Result: false
Hit Exception Cache: false
Storage cache used: false
Message: Error while executing SQL "select part_dt, sum(price) as
total_selled, count(distinct seller_id) as sellers from kylin_sales
group by part_dt order by part_dt
LIMIT 50000": Timeout visiting cube!
==========================[QUERY]===============================
2016-04-30 03:45:32,310 ERROR [http-bio-7070-exec-9]
controller.BasicController:44 :
org.apache.kylin.rest.exception.InternalErrorException: Error while
executing SQL "select part_dt, sum(price) as total_selled,
count(distinct seller_id) as sellers from
kylin_sales group by part_dt order by part_dt LIMIT 50000": Timeout
visiting cube!
at org.apache.kylin.rest.controller.QueryController.doQueryWithCache(QueryController.java:224)
at org.apache.kylin.rest.controller.QueryController.query(QueryController.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.doPost(FrameworkServlet.java:789)
编辑:通过hbase shell查看hbase,我可以看到kylin肯定正在连接到hbase,至少足以创建表什么的。但是似乎是多维数据集的后备存储的表是空的。
hbase(main):006:0> list
TABLE
KYLIN_PC2ZBJAZEC
kylin_metadata
2 row(s) in 0.0270 seconds
=> ["KYLIN_PC2ZBJAZEC", "kylin_metadata"]
hbase(main):007:0> list 'KYLIN_PC2ZBJAZEC'
TABLE
KYLIN_PC2ZBJAZEC
1 row(s) in 0.0160 seconds
=> ["KYLIN_PC2ZBJAZEC"]
hbase(main):008:0>
1条答案
按热度按时间lnvxswe21#
请在kylin的开发人员邮件列表中发布帮助:dev@kylin.apache.org 以下是您的问题的存档:http://apache-kylin.74782.x6.nabble.com/timeout-visiting-cube-td4618.html