What's hive-site.xml including in $SPARK_HOME looks like?

前端 未结 4 1699
一向
一向 2021-01-24 19:32

I am a beginner at hive, something happened (can not find table) when I start spark job and read data from hive. I don\'t set hive-site.xml in $SPARK_HOME/conf ?

submit

4条回答
  •  星月不相逢
    2021-01-24 19:45

    I believe it might depend on the distribution you're using. I encountered this problem recently, and this fixed the issue for me. I'm using HDP 2.3.2 so my copy of hive-site.xml in the Spark conf folder only contains this:

    
    
      
      hive.metastore.uris
      thrift://host.xxx.com:9083
      
    
    
    

提交回复
热议问题