Complete the code to enable wire encryption in Hadoop configuration.
conf.set("[1]", "true")
The property dfs.encrypt.data.transfer enables wire encryption for data in transit in Hadoop.
Complete the code to set the encryption cipher suite for Hadoop wire encryption.
conf.set("dfs.encrypt.data.transfer.cipher.suites", "[1]")
The recommended cipher suite for Hadoop wire encryption is AES/CTR/NoPadding for performance and security.
Fix the error in the code to correctly enable data transfer encryption in Hadoop.
conf.setBoolean("[1]", true)
The correct property to enable encryption is dfs.encrypt.data.transfer. Using other properties will not enable wire encryption.
Fill both blanks to create a dictionary of encryption settings for Hadoop wire encryption.
encryption_settings = {"[1]": "true", "[2]": "AES/CTR/NoPadding"}The dictionary keys must be dfs.encrypt.data.transfer to enable encryption and dfs.encrypt.data.transfer.cipher.suites to specify the cipher.
Fill all three blanks to create a Hadoop configuration snippet that enables wire encryption, sets the cipher, and enables data transfer protection.
conf.setBoolean("[1]", true) conf.set("[2]", "AES/CTR/NoPadding") conf.set("[3]", "privacy")
This snippet enables wire encryption (dfs.encrypt.data.transfer), sets the cipher suite (dfs.encrypt.data.transfer.cipher.suites), and enables data transfer protection (dfs.data.transfer.protection).