Hi, did you check Spark history server? If not, please follow the guide in
https://kylin.apache.org/docs20/tutorial/cube_spark.html to start the
history server, and then check whether there is any clue in executor logs.

2017-06-20 9:58 GMT+08:00 SonixLegend <williamleg...@hotmail.com>:

> error.txt <http://apache-kylin.74782.x6.nabble.com/file/n8274/error.txt>
> 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.IllegalStateException: Cannot call methods on a
> stopped
> SparkContext.
> This stopped SparkContext was created at:
>
> org.apache.spark.api.java.JavaSparkContext.<init>(
> JavaSparkContext.scala:59)
> org.apache.kylin.engine.spark.SparkCubingByLayer.execute(
> SparkCubingByLayer.java:150)
> org.apache.kylin.common.util.AbstractApplication.execute(
> AbstractApplication.java:37)
> org.apache.kylin.common.util.SparkEntry.main(SparkEntry.java:44)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 62)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> java.lang.reflect.Method.invoke(Method.java:498)
> org.apache.spark.deploy.SparkSubmit$.org$apache$spark$
> deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
> org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
> org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
> org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
> org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
>
> How is it happened? How can I fixed the issue? Please help me.
>
> --
> View this message in context: http://apache-kylin.74782.x6.
> nabble.com/Build-Cube-via-Spark-Engine-tp8274.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>



-- 
Best regards,

Shaofeng Shi 史少锋

Reply via email to