Enable Data Transfer Protocol
How to enable Data Transfer Protocol.
dfs.encryt.data.transfer=trueon the NameNode and all DataNodes. The actual algorithm used for encryption can be customized with
dfs.encrypt.data.transfer.algorithmset 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:
rc4is also supported.