随笔分类 -  Sqoop

sqoop query append import
摘要:sqoop import --connect jdbc:mysql://hostname/database --username uname --password pwd --target-dir /raw/hive/dbsystem/user/raw_subscriber/2015/03/25/ ... 阅读全文
posted @ 2015-03-26 18:37 LIUSANNITY 阅读(384) 评论(0) 推荐(0) 编辑
使用sqoop从mysql往hive中增量导数据shell脚本
摘要:一:sqoop增量导入的两种方式Incremental import arguments:ArgumentDescription--check-column (col)Specifies the column to be examined when determining which rows to... 阅读全文
posted @ 2014-06-20 17:59 LIUSANNITY 阅读(2033) 评论(2) 推荐(0) 编辑
sqoop往hive中导入数据报找不到数据库错误
摘要:sqoop版本为1.4.4,hadoop版本为2.2.0,hive版本为0.11.0,hive元数据存放位置为mysql,当使用sqoop 从mysql往hive中导入数据时,总是提示找不到所指定的hive数据库,事实上hive中已存在该数据库,sqoop中也设置了hive路 径,/etc/pro... 阅读全文
posted @ 2014-06-16 17:36 LIUSANNITY 阅读(619) 评论(0) 推荐(0) 编辑