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
Post a Comment