Description
Hbase RPC encryption is enabled by setting “hbase.rpc.protection” to "privacy". With the token authentication, it utilized DIGEST-MD5 mechanisms for secure authentication and data protection. For DIGEST-MD5, it uses DES, 3DES or RC4 to do encryption and it is very slow, especially for Scan. This will become the bottleneck of the RPC throughput.
Apache Commons Crypto is a cryptographic library optimized with AES-NI. It provides Java API for both cipher level and Java stream level. Developers can use it to implement high performance AES encryption/decryption with the minimum code and effort. Compare with the current implementation of org.apache.hadoop.hbase.io.crypto.aes.AES, Crypto supports both JCE Cipher and OpenSSL Cipher which is better performance than JCE Cipher. User can configure the cipher type and the default is JCE Cipher.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-16463 Improve transparent table/CF encryption with Commons Crypto
- Closed
-
HADOOP-10768 Optimize Hadoop RPC encryption performance
- Patch Available
- relates to
-
HBASE-16633 Optimize HBase RPC Encryption Performance
- Resolved
-
HADOOP-13635 Replace Hadoop Common crypto code with Apache Commons Crypto
- Open
- links to