从配置单元CLI运行Spark作业时出错
jdbc:hive2://hdpworker.kyvostest.com:10000>从样本组中按ID选择ID; 错误:java.lang.NoClassDefFoundError:org / apache / spark / SparkConf(state =,code = 0)
蜂巢尝试过火花工作 蜂巢-1.2 火花-2.3 hdp 2.6.5
0:jdbc:hive2://hdpworker.kyvostest.com:10000> SET hive.execution.engine = spark; 不影响任何行(0.069秒) 0:jdbc:hive2://hdpworker.kyvostest.com:10000>从样本组中按ID选择ID; 错误:java.lang.NoClassDefFoundError:org / apache / spark / SparkConf(状态=,代码= 0) 0:jdbc:hive2://hdpworker.kyvostest.com:10000>
使用Mr引擎运行时,作业运行正常。