hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14901) There is duplicated code to create/manage encryption keys
Date Thu, 03 Dec 2015 22:25:11 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038722#comment-15038722
] 

stack commented on HBASE-14901:
-------------------------------

Sorry about that [~nkedel] Looks like your test run got thrown out of the queue because of
my messing w/ hadoopqa scripts. Thanks for requeuing.

> 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
>
>         Attachments: HBASE-14901.1.patch, HBASE-14901.2.patch, HBASE-14901.3.patch, HBASE-14901.4.patch
>
>   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.



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

Mime
View raw message