Enable Data Transfer Protocol
How to enable Data Transfer Protocol.
dfs.encryt.data.transfer=true
on the NameNode and all DataNodes.
The actual algorithm used for encryption can be customized with
dfs.encrypt.data.transfer.algorithm
set to either "3des" or "rc4".
If nothing is set, then the default on the system is used (usually 3DES.) While 3DES is
more cryptographically secure, RC4 is substantially faster.
Enable Encrypted DTP by setting the following properties in
hdfs-site.xml:
dfs.encrypt.data.transfer=true
dfs.encrypt.data.transfer.algorithm=3des
rc4
is also supported.