sqoop export

我在使用 sqoop export 导出数据的时候出现了这个 bug

Export requires a --table or a --call argument;

原因是:我在 sqoop export 命令中没有配置

--table tablename

从而导致 hdfs 上的数据没有映射到数据库中具体的表,其中 tablename 是数据库中具体的表名,配置了这一项就好了

猜你喜欢

转载自blog.csdn.net/weixin_42926783/article/details/84987598
今日推荐