spark写入hive中提示找不到数据库解决办法
WARN metastore.ObjectStore: Failed to get database odsl, returning NoSuchObjectExceptionException in thread “main” org.apache.spark.sql.catalyst.analysis.NoSuchDatabaseException: Database ‘odsl’ not f
·
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/
更多推荐
已为社区贡献1条内容
所有评论(0)