在将数据写入hive的时候,有时候就会出现:
Can not create the managed table(’lintest.getEveryDayStudentAllinfo’). The associated location(‘hdfs://mycluster/user/hive/warehouse/lintest.db/getEveryDayStudentAllinfo’) already exists.;
这有可能是写入hive的数据表名字有大写字母,所以出现错误。提示表不存在!!!
将表名的大写字母改为小写即可成功!!!