Sqoop
Following are considerations for using Sqoop to import or export HDFS-encrypted data.
Recommendations
For Hive:
Make sure that you are using Sqoop with the
--target-dirparameter set to a directory that is inside the Hive encryption zone. Specify the -D option after sqoop import.For example:
sqoop import \-D sqoop.test.import.rootDir=<root-directory> \--target-dir <directory-inside-encryption-zone> \<additional-arguments>For append or incremental import:
Make sure that the
sqoop.test.import.rootDirproperty points to the encryption zone specified in the--target-dirargument.For HCatalog:
No special configuration is required.

