[英]Does distcp in hadoop ENCRYPT data while transporting from one cluster to another
I would like to know whether distcp has option to encrypt data while transporting from one cluster to another. 我想知道distcp是否可以选择在从一个集群传输到另一个集群时加密数据。 I got to know that it does support encryption in S3 cluster but that is something to do with amazon's S3.
我知道它确实支持S3集群中的加密,但这与亚马逊的S3有关。 What if we are moving plain text file from one cluster to another.
如果我们将纯文本文件从一个簇移动到另一个簇,该怎么办? Will it be encrypted or plain text is sent ?
是加密还是发送纯文本? Can we enable such encryption, if it supports?
如果它支持,我们可以启用这种加密吗?
From HDFS documentation : 来自HDFS 文档 :
Once a KMS has been set up and the NameNode and HDFS clients have been correctly configured, an admin can use the hadoop key and hdfs crypto command-line tools to create encryption keys and set up new encryption zones.
设置KMS并正确配置NameNode和HDFS客户端后,管理员可以使用hadoop密钥和hdfs crypto命令行工具创建加密密钥并设置新的加密区域。 Existing data can be encrypted by copying it into the new encryption zones using tools like distcp.
可以使用distcp等工具将现有数据复制到新的加密区域,从而对现有数据进行加密。
Hope it helps. 希望能帮助到你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.