New Contributor
Posts: 3
Registered: ‎12-04-2014

Distcp data backup to AWS S3 with AWS KMS encryption

We are currently trying to backup data from CDH cluster to S3 for backup and it works fine.
However when we want to use AWS KMS encryption to encrypt data at AWS side.

Typically this should be switch to encrypt with codes like below,

hadoop distcp \
-Dfs.s3a.access.key=<Access Key> \
-Dfs.s3a.secret.key=<Secret Key> \
-Dfs.s3a.server-side-encryption-algorithm=aws:kms \
-Dfs.s3a.server-side-encryption-key=<encryption-key> \ \
hdfs://<name-node>:8020/tmp/ \


However I keep getting error related to hash code mismatch.


Anybody has any luck in this please?