In the sample
case on the Kylin
official website, when I was building cube
, in the first step of the Create Intermediate Flat Hive Table
, the log is always No Data Available
, the status is always running
.
The cube build has been executed for more than three hours.
I checked the hive database table kylin_sales
and there is data in the table.
And I fount that the intermediate flat hive table kylin_intermediate_kylin_sales_cube_402e3eaa_dfb2_7e3e_04f3_07248c04c10c
has been created successfully in the hive, but there is no data in its.
hive> show tables;
OK
...
kylin_intermediate_kylin_sales_cube_402e3eaa_dfb2_7e3e_04f3_07248c04c10c
kylin_sales
...
Time taken: 9.816 seconds, Fetched: 10000 row(s)
hive> select * from kylin_sales;
OK
...
8992 2012-04-17 ABIN 15687 0 13 95.5336 17 10000975 10000507 ADMIN Shanghai
8993 2013-02-02 FP-non GTC 67698 0 13 85.7528 6 10000856 10004882 MODELER Hongkong
...
Time taken: 3.759 seconds, Fetched: 10000 row(s)
The deploy environment is as follows:
- zookeeper-3.4.14
- hadoop-3.2.0
- hbase-1.4.9
- apache-hive-2.3.4-bin
- apache-kylin-2.6.1-bin-hbase1x
- openssh5.3
- jdk1.8.0_144
I deployed the cluster through docker and created 3 containers, one master, two slaves.
Create Intermediate Flat Hive Table
step is running.