WARN metastore.ObjectStore: Failed to get database odsl, returning
NoSuchObjectException Exception in thread “main”
org.apache.spark.sql.catalyst.analysis.NoSuchDatabaseException:
Database ‘odsl’ not found;
解决方法
将hive配置复制到spark中
cp hive-site.xml /opt/soft/spark/conf/
最后
以上就是糟糕服饰最近收集整理的关于spark写入hive中提示找不到数据库解决办法的全部内容,更多相关spark写入hive中提示找不到数据库解决办法内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复