Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HBase Secure Bulk load data from encryption zone


HBase Secure Bulk load data from encryption zone

Expert Contributor

For the use case where data needs to bulk loaded into hbase from an encryption zone the documentation here states right at the end

Workaround: run the MapReduce job as the hbase user, and specify an output directory that resides in the same encryption zone as the HBase root directory.

How would this work ?

Say there exists userA with encryption zone /user/userA on hdfs

HBase has its own encryption zone under /apps/hbase and the staging directory /apps/hbase/staging

This userA creates some sequenceFiles in /user/userA which need to be used to generate the HFiles.

How will the workaround work ? the hbase user will not have access to the sequenceFiles in /user/userA ?

Don't have an account?
Coming from Hortonworks? Activate your account here