Using Sqoop actions with Oozie
There are certain recommendations that you must consider for using Sqoop actions with Oozie.
Recommendations for using Sqoop actions with Oozie
Cloudera recommends that you not use Sqoop CLI commands with an Oozie Shell Action. Such deployments are not reliable and prone to breaking during upgrades and configuration changes.
To import data into Hive, use a combination of a Sqoop Action with a Hive2 Action.
- A Sqoop Action to simply ingest data into HDFS.
- A Hive2 Action that loads the data from HDFS into Hive.