问题 User class threw exception: java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionStateBuilder':
解决:代码里config 配置信息异常;hive.exec.scratchdir 的配置拼写异常
本文针对在使用SparkSQL结合Hive时遇到的Userclassthrewexception异常,详细解析了异常产生的原因,主要为代码中config配置信息错误及hive.exec.scratchdir配置项拼写异常,并提供了具体的解决策略。
问题 User class threw exception: java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionStateBuilder':
解决:代码里config 配置信息异常;hive.exec.scratchdir 的配置拼写异常
872
7194
3887
1423
8475
6799
1490
2653
4254