Configuring HDFS Data Encryption During Transmission
Configuring HDFS Security Channel Encryption
The channel between components is not encrypted by default. You can set parameters to enable security channel encryption.
Navigation path for setting parameters: On FusionInsight Manager, choose Cluster > Name of the desired cluster > Services > HDFS > Configurations. On the displayed page, click the All Configurations tab. Enter a parameter name in the search box.
After the configuration, restart the corresponding service for the settings to take effect.
Configuration Item |
Description |
Default Value |
---|---|---|
hadoop.rpc.protection |
NOTICE:
Indicates whether the RPC channels of each module in Hadoop are encrypted. The channels include:
NOTE:
The setting takes effect globally, that is, the encryption attribute of the RPC channel of each module in the Hadoop takes effect. |
NOTE:
|
dfs.encrypt.data.transfer |
Indicates whether the HDFS data transfer channels and the channels for clients to access HDFS are encrypted. The HDFS data transfer channels include the data transfer channels between DataNodes and the Data Transfer (DT) channels for clients to access DataNodes. The value true indicates that the channels are encrypted. The channels are not encrypted by default.
NOTE:
|
false |
dfs.encrypt.data.transfer.algorithm |
Indicates the algorithm to encrypt the HDFS data transfer channels and the channels for clients to access HDFS. This parameter is valid only when dfs.encrypt.data.transfer is set to true.
NOTE:
The default value is 3des, indicating that 3DES algorithm is used to encrypt data. The value can also be set to rc4. However, to avoid security risks, you are not advised to set the parameter to this value. |
3des |
dfs.encrypt.data.transfer.cipher.suites |
This parameter can be left empty or set to AES/CTR/NoPadding to specify the cipher suite for data encryption. If this parameter is not specified, the encryption algorithm specified by dfs.encrypt.data.transfer.algorithm is used for data encryption. The default value is AES/CTR/NoPadding. |
AES/CTR/NoPadding |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.