Support Questions

Find answers, ask questions, and share your expertise

Between HDFS encryption and compression

Contributor

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

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

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.