Hive tables not found when running in YARN-Cluster mode

后端 未结 2 1186
离开以前
离开以前 2020-12-11 07:34

I have a Spark (version 1.4.1) application on HDP 2.3. It works fine when running it in YARN-Client mode. However, when running it on YARN-Cluster mode none of my Hive table

2条回答
  •  佛祖请我去吃肉
    2020-12-11 08:22

    If you are able to fetch data using Hive CLI, then use the same hive-site.xml in your Spark job.

    The only reason could be the location of metastore defined in hive-site.xml.

提交回复
热议问题