HiveOn Spark环境中执行select count语句时候报错:
Exception in thread"main" java.lang.NoClassDefFoundError: scala/collection/Iterable
如图:
报错完整信息是:
hive> select count(*) from t_hello;
Exception in thread "main"java.lang.NoClassDefFoundError: scala/collection/Iterable
atorg.apache.hadoop.hive.ql.parse.spark.GenSparkProcContext.<init&