原因缺少hive配置文件
cp /opt/module/hive-3.1.2/conf/hive-site.xml ./conf
cp mysql-connector-java-5.1.37.jar /opt/module/spark-yarn/jars/
复制hive配置文件以及存储元数据的mysql jar包即可
参考:https://blog.csdn.net/m0_73734232/article/details/128273959
原因缺少hive配置文件
cp /opt/module/hive-3.1.2/conf/hive-site.xml ./conf
cp mysql-connector-java-5.1.37.jar /opt/module/spark-yarn/jars/
复制hive配置文件以及存储元数据的mysql jar包即可
参考:https://blog.csdn.net/m0_73734232/article/details/128273959