Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14964

Backport HBASE-14901 (duplicated code to create/manage encryption keys) to branch-1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • encryption
    • None
    • Reviewed

    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.

      Attachments

        1. HBASE-14964.1.branch-1.patch
          12 kB
          Sean Busbey
        2. HBASE-14964-branch-1.1.patch
          12 kB
          Sean Busbey
        3. HBASE-14964.patch
          12 kB
          Nate Edel

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nkedel Nate Edel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified