Oracle抽取到hdfs

 

sqoop import --connect jdbc:oracle:thin:@192.168.3.1:1521:test --username test --P --table TEST.TEST --columns ID,NAME --fields-terminated-by '#' --target-dir /test/test.txt -m 1

 

posted on 2017-09-12 14:34  充实自己  阅读(127)  评论(0编辑  收藏  举报