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

There is duplicated code to create/manage encryption keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • 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.

      Attachments

        1. HBASE-14901.6.patch
          23 kB
          Nate Edel
        2. HBASE-14901.5.patch
          23 kB
          Nate Edel
        3. HBASE-14901.3.patch
          23 kB
          Nate Edel
        4. HBASE-14901.2.patch
          19 kB
          Nate Edel
        5. HBASE-14901.1.patch
          19 kB
          Nate Edel

        Issue Links

          Activity

            People

              nkedel Nate Edel
              nkedel Nate Edel
              Votes:
              0 Vote for this issue
              Watchers:
              5 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