kylin不能介入外部spark集群吗
答案:2 悬赏:0 手机版
解决时间 2021-03-13 22:11
- 提问者网友:抽煙菂渘情少年
- 2021-03-13 14:12
kylin不能介入外部spark集群吗
最佳答案
- 五星知识达人网友:轻熟杀无赦
- 2021-03-13 14:36
应该可以: 我这里报错是因为, 内嵌的spark版本是1.6.3 外部的spark版本是2.0.0
17/07/04 14:27:41 INFO common.KylinConfig: Initialized a new KylinConfig from getInstanceFromEnv : 1749430958
17/07/04 14:27:41 ERROR yarn.ApplicationMaster: User class threw exception: java.lang.NoSuchMethodError: org.apache.spark.sql.hive.HiveContext.table(Ljava/lang/String;)Lorg/apache/spark/sql/DataFrame;
java.lang.NoSuchMethodError: org.apache.spark.sql.hive.HiveContext.table(Ljava/lang/String;)Lorg/apache/spark/sql/DataFrame;
at org.apache.kylin.engine.spark.SparkCubingByLayer.execute(SparkCubingByLayer.java:158)
at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:37)
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.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:637)
17/07/04 14:27:41 INFO common.KylinConfig: Initialized a new KylinConfig from getInstanceFromEnv : 1749430958
17/07/04 14:27:41 ERROR yarn.ApplicationMaster: User class threw exception: java.lang.NoSuchMethodError: org.apache.spark.sql.hive.HiveContext.table(Ljava/lang/String;)Lorg/apache/spark/sql/DataFrame;
java.lang.NoSuchMethodError: org.apache.spark.sql.hive.HiveContext.table(Ljava/lang/String;)Lorg/apache/spark/sql/DataFrame;
at org.apache.kylin.engine.spark.SparkCubingByLayer.execute(SparkCubingByLayer.java:158)
at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:37)
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.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:637)
全部回答
- 1楼网友:往事隔山水
- 2021-03-13 15:08
你好!
eping its promises an
如有疑问,请追问。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯