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

[jira] [Updated] (HBASE-14964) Backport HBASE-14901 to brach-1 - There is duplicated code to create/manage encryption keys

     [ https://issues.apache.org/jira/browse/HBASE-14964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nate Edel updated HBASE-14964:
------------------------------
    Description: 
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.

A lot of the Mob stuff hasn't been backported, so this is a very small patch.

  was:
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.


> Backport HBASE-14901 to brach-1 - There is duplicated code to create/manage encryption keys
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14964
>                 URL: https://issues.apache.org/jira/browse/HBASE-14964
>             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
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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.
> A lot of the Mob stuff hasn't been backported, so this is a very small patch.



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