Missing hive-site when using spark-submit YARN cluster mode

后端 未结 4 686
我在风中等你
我在风中等你 2020-12-06 18:38

Using HDP 2.5.3 and I\'ve been trying to debug some YARN container classpath issues.

Since HDP includes both Spark 1.6 and 2.0.0, there have been some conflicting v

4条回答
  •  有刺的猬
    2020-12-06 19:10

    Found an issue with this

    You create a org.apache.spark.sql.SQLContext before creating hive context the hive-site.xml is not picked properly when you create hive context.

    Solution : Create the hive context before creating another SQL context.

提交回复
热议问题