Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20898 Improve support for HDFS at-rest encryption
  3. HBASE-20950

Helper method to configure secure DFS cluster for tests

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 3.0.0-alpha-1, 2.2.0
    • test
    • None
    • Reviewed

    Description

      There is quite some boilerplate code for configuring a secure HDFS cluster for tests. The code is repeated in a number of test files within HBase code base. Convert the boilerplate code into a helper method to avoid duplication and lower maintenance effort.

      SecureTestCluster#setHdfsSecuredConfiguration
      TestSecureExport#setUpClusterKdc
      TestThriftSpnegoHttpServer#addSecurityConfigurations
      TestSaslFanOutOneBlockAsyncDFSOutput#setHdfsSecuredConfiguration

      Attachments

        1. HBASE-20950.master.003.patch
          21 kB
          Wei-Chiu Chuang
        2. HBASE-20950.master.002.patch
          21 kB
          Wei-Chiu Chuang
        3. HBASE-20950.master.001.patch
          21 kB
          Wei-Chiu Chuang

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: