sqoop导入数据到hive中元数据问题

在简单地配置了sqoop之后,它以前就很容易使用了,我不记得我是不是启动了hivemetastore。我今天用的时候,我没有启动它。结果,我在导入数据的时候,如果用的是db.ablename,就会出现找不到数据库的错误,找不到原因。

[En]

After simply configuring sqoop, it is easy to use before, and I don’t remember if I started hivemetastore. When I used it today, I didn’t start it. As a result, when I imported data, if I used db.tablename, there would be an error that the database could not be found, and the reason could not be found.

SQOOP仍然是一样的。后来,我检查到在sqoop/conf下有一个额外的metore.db文件夹。我删除了该文件,并从hive/conf复制了hive-site.xml文件。

[En]

The sqoop is still the same. Later, I checked that there was an extra metastore.db folder under sqoop/conf. I deleted this file and copied the hive-site.xml file from the hive/conf.

这个时候问题就解决了。

[En]

The problem is solved at this time.

学好电脑,不怕周游世界。

[En]

Learn computer well, don’t be afraid to travel all over the world.

Original: https://www.cnblogs.com/rocky-AGE-24/p/7672711.html
Author: 牵牛花
Title: sqoop导入数据到hive中元数据问题

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/6821/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

免费咨询
免费咨询
扫码关注
扫码关注
联系站长

站长Johngo!

大数据和算法重度研究者!

持续产出大数据、算法、LeetCode干货,以及业界好资源!

2022012703491714

微信来撩,免费咨询:xiaozhu_tec

分享本页
返回顶部