Import data using Sqoop from Oracle database into local file system?

380 Views Asked by At

I am trying to import data local file system using Sqoop and I get the following error. How can I resolve this?

$**sqoop import -fs local -jt local --connect jdbc:oracle:thin:@orau20:xxxx:xxxx --username xxx --password-file xxxx --table xxxxx --target-dir /user/local/  -m 1**

Error :

 ERROR tool.ImportTool: Import failed: java.io.FileNotFoundException: File file:/hdp/apps/3.1.0.0-78/mapreduce/mapreduce.tar.gz does not exist
        at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:641)
0

There are 0 best solutions below