Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Between HDFS encryption and compression

avatar
Rising Star

If we turn on encryption, should we turn off compression? Are the data nodes smart enough to realize that there's no point trying to compress encrypted blocks?

1 ACCEPTED SOLUTION

avatar
Master Guru

Compression and encryption are 2 different things: In Step 1 you compress a file, or not, it's optional but recommended unless you have reasons not to compress it. In Step 2 you encrypt the file from Step 1.

View solution in original post

1 REPLY 1

avatar
Master Guru

Compression and encryption are 2 different things: In Step 1 you compress a file, or not, it's optional but recommended unless you have reasons not to compress it. In Step 2 you encrypt the file from Step 1.