Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Do
-
None
-
None
-
None
Description
Provide support for PGP encryption by implementing Encrypter and Decrypter interfaces defined in MAPREDUCE-4450. This can be used by the cluster to protect the job secrets. This also be used map reduce jobs to encrypt/decrypt data.
Add PGPCodec as a CompressionCodec so that encrypted data can be processed transparently like compressed data . The aliases to the keys can be specified as part of Job.
Based on PGPCodec, a number of utilities are provided to encrypt, decrypt the data in cluster. They include
1. DistributedSplitter – Split an encrypted file into smaller files.
2. DistributedEncrypter – encrypt files in a cluster.
3. DistributedDecrypter – decrypt encrypted files in a cluster.
4. DistributedRecrypter – decrypt an encrypted file and encrypt it with another key.
Uitlities are added to encrypt/decrypt files in local file system
1. Genkey - Generate an asymmetric key pair (public and private keys) of a specified strength
2. Encrypt - Encrypt a file
3. Decrypt – Decrypt a file
Added as a contrib project - hadoop-crypto.