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

Provide alternate mini cluster classes other than HBTU for downstream users to write unit tests

    XMLWordPrintableJSON

Details

    • Umbrella
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.5.0, 3.0.0-alpha-4
    • API, test
    • None
    • Reviewed
    • Hide
      Introduce a TestingHBaseCluster for users to implement integration test with mini hbase cluster.
      See this section https://hbase.apache.org/book.html#_integration_testing_with_an_hbase_mini_cluster in the ref guide for more details on how to use it.
      TestingHBaseCluster also allowes you to start a mini hbase cluster based on external HDFS cluster and zookeeper cluster, please see the release note of HBASE-26167 for more details.
      HBaseTestingUtility is marked as deprecated and will be 'removed' in the future.
      Show
      Introduce a TestingHBaseCluster for users to implement integration test with mini hbase cluster. See this section https://hbase.apache.org/book.html#_integration_testing_with_an_hbase_mini_cluster in the ref guide for more details on how to use it. TestingHBaseCluster also allowes you to start a mini hbase cluster based on external HDFS cluster and zookeeper cluster, please see the release note of HBASE-26167 for more details. HBaseTestingUtility is marked as deprecated and will be 'removed' in the future.

    Description

      Over in the review for HBASE-12972, enis mentioned that one of the HBTU methods wasn't intended for public consumption.

      Can we build a list of such methods across the API, appropriately annotate them for 2.0, and deprecate them in earlier versions with a warning that they're going to be restricted?

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              busbey Sean Busbey
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: