Enabling HDFS Encrypted Transport

To enable encryption, proceed as follows:
  1. Enable Hadoop security using Kerberos.
  2. Select the HDFS service.
  3. Use the safety valve mechanism to set the following properties:
    1. hadoop.rpc.protection to privacy in the core-site.xml file in both client and server configurations.
    2. dfs.encrypt.data.transfer to true in the hdfs-site.xml file on all server systems.
  4. Restart the HDFS service.