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 found;解决方法将hive配置复制到sparkcp hive-site.xml /opt/soft