Search

If HDFS target directory already exists, then we how can we overwrite the RDBMS table into it via Sqoop?



We can use –delete-target-dir argument to sqoop import command, so that target directory will be deleted prior to copying the new table contents into that directory.