Created 11-08-2016 03:57 PM
We had an issue come up where we can't use Ranger for encryption on HDFS and the question is can we use LUKS encryption instead?
Created 11-08-2016 07:16 PM
@Mike Garris Yes you can use LUKS as disk level encryption. This will encrypted the data blocks at the Linux level. This will not encrypted the data at the HDFS filesystem level. Many people have easily and successfully deployed HDFS with LUKS encrypted disk. The preference would to install and configure Linux and LUKS at the same time and then just install HDFS after as you would with a normal HDP install.
Created 11-08-2016 04:22 PM
Hi,
LUKS is a disk level encryption and hence is independent of the encryption supported by HDFS. Please see the link below to have an overview of the various levels of encryptions and where TDE sits.
https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html
Hope that answers your query.
Created 11-08-2016 05:11 PM
But this still relies on a backing KMS correct? Since we can't use Ranger, is there another method?
Created 11-08-2016 07:16 PM
@Mike Garris Yes you can use LUKS as disk level encryption. This will encrypted the data blocks at the Linux level. This will not encrypted the data at the HDFS filesystem level. Many people have easily and successfully deployed HDFS with LUKS encrypted disk. The preference would to install and configure Linux and LUKS at the same time and then just install HDFS after as you would with a normal HDP install.
Created 11-08-2016 07:24 PM
Excellent.