Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.x-HBase1.1.3
-
None
Description
Get reporting from liuyiming.vip@foxmail.com in kylin dev mailing list:
I have installed HDP 2.3 on my cluster(Hadoop 2.7.1, HBase 1.1.1, Hive 1.2.1) with the help of Ambari.
I downloaded the latest apache-kylin-1.2-HBase1.1-incubating-SNAPSHOT-bin.tar.gz. The Kylin could start normally with slight modification of find-hive-dependency.
Then I run the sample.sh to import the sample project. But the web GUI could not show the learn_kylin project from the dropdown box.
I have checked Hive, and found three tables(kylin_cal_dt, kylin_category_groupings,kylin_sales) created under default database.
I have checked HBase, and found three tables(kylin_metadata, kylin_metadata_acl, kylin_metadata_user) created.
It seems the sample data is imported correctly. But the metadata import failed.
When executed the following command:
hbase org.apache.hadoop.util.RunJar lib/kylin-job-1.1-incubating-SNAPSHOT.jar org.apache.kylin.common.persistence.ResourceTool upload sample_cube/metadata/
It has the following log
"Null inputstream for /". It seems the ResourceTool could not find the metadata from local sample_cube directory.
[kylin@server kylin]$ ls -al
total 68
drwxr-xr-x. 8 kylin kylin 4096 Oct 26 22:54 .
drwxr-xr-x. 6 root root 4096 Oct 26 22:47 ..
drwxr-xr-x. 2 kylin kylin 4096 Oct 25 17:33 bin
rw-rr-. 1 kylin kylin 823 Oct 25 17:33 commit.sha1
drwxr-xr-x. 2 kylin kylin 4096 Oct 25 17:33 conf
rw-rr-. 1 kylin kylin 539 Oct 25 17:33 DISCLAIMER
drwxr-xr-x. 2 kylin kylin 4096 Oct 25 17:33 lib
rw-rr-. 1 kylin kylin 13060 Oct 25 17:33 LICENSE
drwxrwxr-x. 2 kylin kylin 4096 Oct 26 22:48 logs
rw-rr-. 1 kylin kylin 180 Oct 25 17:33 NOTICE
rw-rw-r-. 1 kylin kylin 6 Oct 26 22:54 pid
rw-rr-. 1 kylin kylin 849 Oct 25 17:33 README.md
drwxr-xr-x. 4 kylin kylin 4096 Oct 25 17:33 sample_cube
drwxr-xr-x. 9 kylin kylin 4096 Oct 25 17:33 tomcat