Support Questions

Find answers, ask questions, and share your expertise

HDFS Rest Encryption vs Linux based Encryption

avatar
Expert Contributor

Dear Team,

If i used linux based encryption on hadoop cluster then is it encrypt hdfs data.

1 ACCEPTED SOLUTION

avatar
Super Guru

@Nilesh

You can use Linux based encryption on your disks which would give you encryption of HDFS data stored on those encrypted filesystems. While the performance is good, it is not as flexible. You should read this: https://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html

When you use Hadoop Transparent Data Encryption, you have the ability to selectively encrypt data. You can use different keys for different encryption zones which gives you finer grained access controls.

I also recommend you take a look at this: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_hdfs_admin_tools/content/hdfs-encryption...

View solution in original post

1 REPLY 1

avatar
Super Guru

@Nilesh

You can use Linux based encryption on your disks which would give you encryption of HDFS data stored on those encrypted filesystems. While the performance is good, it is not as flexible. You should read this: https://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html

When you use Hadoop Transparent Data Encryption, you have the ability to selectively encrypt data. You can use different keys for different encryption zones which gives you finer grained access controls.

I also recommend you take a look at this: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_hdfs_admin_tools/content/hdfs-encryption...