sqoop import --connect jdbc:mysql://hostname/database --username uname --password pwd --target-dir /raw/hive/dbsystem/user/raw_subscriber/2015/03/25/   --query "select * from subscriber where \$CONDITIONS and update_time>='2015-03-25' and update_time<'2015-03-26'"  --m 1  --append  --fields-terminated-by "|"

posted on 2015-03-26 18:37  LIUSANNITY  阅读(385)  评论(0编辑  收藏  举报