Sqoop 调试 错误 from hive to mysql

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/haohaixingyun/article/details/85171624
1. mysql  jdbc 错误   需要驱动   
2. mysql 服务器 ip 错误  即便是本地 也需要用 域名 或 是 ip 不能 用 localhost 等   
3. 数据长度 问题  ,hive 乳沟 大于  mysql 错误
4. hive  跟 mysql 字段名称 尽量匹配 或是 一致  
5. hive 的 dt 数据 是通步不过去的  需要单独 使用一个 dt 同步时间  
6. 数据分隔符 hive 是  \t  ,mysql 是  ','  撕逼裂肺  

下面是几个示例 :

猜你喜欢

转载自blog.csdn.net/haohaixingyun/article/details/85171624