When to use –target-dir and when to use –warehouse-dir while importing data?



When to use –target-dir and when to use –warehouse-dir while importing data?..

Answer / Vipul Pratap Singh

`--target-dir` specifies the local directory where the imported data will be stored. `--warehouse-dir` specifies the Hadoop Distributed File System (HDFS) directory where the imported data will be stored by default if not specified.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Sqoop Interview Questions

Difference Between Apache Sqoop vs Flume?

1 Answers  


What is difference the between sqoop and distcp?

1 Answers  


Can you explain sqoop metastore?

1 Answers  


Does sqoop use mapreduce?

1 Answers  


How can I import large objects (BLOB and CLOB objects) in Apache Sqoop?

1 Answers  


Use of Codegen command in Hadoop sqoop?

1 Answers  


What is the role of JDBC driver in Sqoop?

1 Answers  


What do you mean by Free Form Import in Sqoop?

1 Answers  


What is Purpose to Validate in Sqoop?

1 Answers  


What is the advantage of using –password-file rather than -P option while preventing the display of password in the sqoop import statement?

1 Answers  


Is JDBC driver enough to connect sqoop to the databases?

1 Answers  


What is the importance of — the split-by clause in running parallel import tasks in sqoop?

1 Answers  


Categories