把hive-site.xml复制到spark conf下,文件所属spark:spark /usr/bin/cp -f /usr/hdp/3.1.4.0-315/hive/conf/hive-site.xml /etc/spark2/conf/
/usr/bin/cp -f /usr/hdp/3.1.4.0-315/hive/conf/hive-site.xml /etc/spark2/conf/
https://blog.csdn.net/helloHbulie/article/details/115376657?spm=1001.2014.3001.5501