How to import data using Sqoop from RDBMS into local file system, not HDFS? -


i have seen sqoop allows 1 import data rdbms database hdfs. want import data local file system folders in linux , not hdfs file system.

is there way this?

in sqoop1, can use "-fs" option detailed in documentation. here's quick example:

sqoop import -fs local -jt local --connect jdbc:mysql://<host>/sqoop --username sqoop --password sqoop --table tbl 

in sqoop2, able choose file system when creating link:

hdfs uri: file:/// 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -