当前位置:   article > 正文

Unable to instantiate SparkSession with Hive support because Hive classes are

unable to instantiate sparksession with hive support because hive classes ar

spark-hive的版本不对应

    <!-- https://mvnrepository.com/artifact/org.apache.spark/spark-hive -->
    <dependency>
        <groupId>org.apache.spark</groupId>
        <artifactId>spark-hive_2.11</artifactId>
        <!--2.2.0 为spark的版本号与 spark-sql,spark-core,spark-streaming 的保持一致-->
        <version>2.2.0</version>
    </dependency>

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/869701
推荐阅读
相关标签
  

闽ICP备14008679号