Hi, Could you pls provide the full log? I'm afraid the root cause wasn't included here. There should be other error before or after this. Please also check whether the hbase-site.xml is in the HADOOP_CONF folder and Spark executors can connect with HBase cluster.
Here is a similar question before: http://apache-kylin.74782.x6.nabble.com/A-problem-in-cube-building-with-SPARK-td8009.html 2017-06-28 16:58 GMT+08:00 [email protected] <[email protected]> : > Hi, > I upgrade Kylin to 2.0. > I can successs run at Mapreduce engine now ,but > when i build a cube using spark cube, it shows errors below. > How could I solve it. Thanks > > > Exception in thread "main" java.lang.RuntimeException: > error execute org.apache.kylin.engine.spark.SparkCubingByLayer > at org.apache.kylin.common.util.AbstractApplication. > execute(AbstractApplication.java:42) > at org.apache.kylin.common.util.SparkEntry.main(SparkEntry.java:44) > 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:498) > at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$ > deploy$SparkSubmit$$runMain(SparkSubmit.scala:731) > at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181) > at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206) > at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121) > at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) > Caused by: java.lang.IllegalArgumentException: > Failed to find metadata store by url: kylin_metadata@hbase > at org.apache.kylin.common.persistence.ResourceStore.createResourceStore( > ResourceStore.java:99) > at org.apache.kylin.common.persistence.ResourceStore. > getStore(ResourceStore.java:110) > at org.apache.kylin.cube.CubeManager.getStore(CubeManager.java:812) > at org.apache.kylin.cube.CubeManager.loadAllCubeInstance( > CubeManager.java:732) > at org.apache.kylin.cube.CubeManager.<init>(CubeManager.java:143) > at org.apache.kylin.cube.CubeManager.getInstance(CubeManager.java:107) > at org.apache.kylin.engine.spark.SparkCubingByLayer. > execute(SparkCubingByLayer.java:160) > at org.apache.kylin.common.util.AbstractApplication. > execute(AbstractApplication.java:37) > ... 10 more > > ------------------------------ > [email protected] > -- Best regards, Shaofeng Shi 史少锋
