{"action":"created","issue":{"url":"https://api.github.com/repos/KylinOLAP/Kylin/issues/372","labels_url":"https://api.github.com/repos/KylinOLAP/Kylin/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/KylinOLAP/Kylin/issues/372/comments","events_url":"https://api.github.com/repos/KylinOLAP/Kylin/issues/372/events","html_url":"https://github.com/KylinOLAP/Kylin/issues/372","id":53961602,"number":372,"title":"Cube building failed at Step 8 with exitCode 2","user":{"login":"butterluo","id":984846,"avatar_url":"https://avatars.githubusercontent.com/u/984846?v=3","gravatar_id":"","url":"https://api.github.com/users/butterluo","html_url":"https://github.com/butterluo","followers_url":"https://api.github.com/users/butterluo/followers","following_url":"https://api.github.com/users/butterluo/following{/other_user}","gists_url":"https://api.github.com/users/butterluo/gists{/gist_id}","starred_url":"https://api.github.com/users/butterluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butterluo/subscriptions","organizations_url":"https://api.github.com/users/butterluo/orgs","repos_url":"https://api.github.com/users/butterluo/repos","events_url":"https://api.github.com/users/butterluo/events{/privacy}","received_events_url":"https://api.github.com/users/butterluo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KylinOLAP/Kylin/labels/help+wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-10T15:40:05Z","updated_at":"2015-01-13T13:07:08Z","closed_at":null,"body":"I created a cube following the \"Kylin-Cube-Creation-Tutorial\".\r\nThe fact table is \"TEST_KYLIN_FACT\". The cube has two dimensions, one is \"TEST_KYLIN_FACT.LSTG_FORMAT_NAME\" the other is \"TEST_CAL_DT.CAL_DT\", two measures, ons is \"SUM of TEST_KYLIN_FACT.PRICE\" the other is \"COUNT_DISTINCT of TEST_KYLIN_FACT.SELLER_ID\".\r\nBut when I built this cube, it failed at step 8 (creation of the HBase table) with exitCode 2.\r\nAnd I found an exception in kylin_job.log, \"IllegalStateException: Split number is 0, no records in cube\" .\r\nThe version of Kylin I used is 0.6.2.\r\nThe exception stack:\r\njava.lang.IllegalStateException: Split number is 0, no records in cube??\r\n        at com.kylinolap.job.hadoop.hbase.CreateHTableJob.getSplits(CreateHTableJob.java:176)\r\n        at com.kylinolap.job.hadoop.hbase.CreateHTableJob.run(CreateHTableJob.java:111)\r\n        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)\r\n        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)\r\n        at com.kylinolap.job.cmd.JavaHadoopCmd.execute(JavaHadoopCmd.java:53)\r\n        at com.kylinolap.job.flow.JobFlowNode.execute(JobFlowNode.java:77)\r\n        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)\r\n        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)\r\n\r\nCan any one help to solve this problem?\r\n"},"comment":{"url":"https://api.github.com/repos/KylinOLAP/Kylin/issues/comments/69741234","html_url":"https://github.com/KylinOLAP/Kylin/issues/372#issuecomment-69741234","issue_url":"https://api.github.com/repos/KylinOLAP/Kylin/issues/372","id":69741234,"user":{"login":"lukehan","id":1104017,"avatar_url":"https://avatars.githubusercontent.com/u/1104017?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehan","html_url":"https://github.com/lukehan","followers_url":"https://api.github.com/users/lukehan/followers","following_url":"https://api.github.com/users/lukehan/following{/other_user}","gists_url":"https://api.github.com/users/lukehan/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehan/subscriptions","organizations_url":"https://api.github.com/users/lukehan/orgs","repos_url":"https://api.github.com/users/lukehan/repos","events_url":"https://api.github.com/users/lukehan/events{/privacy}","received_events_url":"https://api.github.com/users/lukehan/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T13:07:08Z","updated_at":"2015-01-13T13:07:08Z","body":"could you please check your hive table's data? looks like there's no data in your hive table"}}