spark 无法写入hive表Can not create the managed table,该如何解决?

spark 无法写入hive表Can not create the managed table,该如何解决?,第1张

spark 无法写入hive表Can not create the managed table,该如何解决? 在将数据写入hive的时候,有时候就会出现: Can not create the managed table(’lintest.getEveryDayStudentAllinfo’). The associated location(‘hdfs://mycluster/user/hive/warehouse/lintest.db/getEveryDayStudentAllinfo’) already exists.;

这有可能是写入hive的数据表名字有大写字母,所以出现错误。提示表不存在!!!

将表名的大写字母改为小写即可成功!!!

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5575424.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-14
下一篇 2022-12-14

发表评论

登录后才能评论

评论列表(0条)

保存