You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nate Edel (JIRA)" <ji...@apache.org> on 2015/12/02 00:38:11 UTC

[jira] [Created] (HBASE-14901) There is duplicated code to create/manage encryption keys

Nate Edel created HBASE-14901:
---------------------------------

             Summary: There is duplicated code to create/manage encryption keys
                 Key: HBASE-14901
                 URL: https://issues.apache.org/jira/browse/HBASE-14901
             Project: HBase
          Issue Type: Bug
          Components: encryption
    Affects Versions: 2.0.0
            Reporter: Nate Edel
            Assignee: Nate Edel
            Priority: Minor
             Fix For: 2.0.0


There is duplicated code from MobUtils.createEncryptionContext in HStore, and there is a subset of that code in HFileReaderImpl.

Refactored key selection 
Moved both to EncryptionUtil.java
Can't figure out how to write a unit test for this, but there's no new code just refactoring.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)