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

Improve LoadTest extensibility

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.7, 0.95.0, 0.95.2
    • Fix Version/s: 0.94.7, 0.95.0, 0.95.2
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This patch rolls up related changes:

      • Allow classes extending TestMiniClusterLoadSequential to override how reader and writer threads are set up, including extending the reader and writers themselves.
      • Make it so classes extending MultiThreadedWriter can cleanly override how Puts are constructed.
      • Provide an option for passing in a custom table descriptor to HBaseTestingUtility#createPreSplitLoadTestTable.
      • HBaseTestingUtility#waitUntilAllRegionsAssigned does not check if the region it is counting belongs to the table created by the test and will not return if it accidentally counts "too many" regions, for example the regions of the ACL table when security is enabled. (Some class based on TestMiniClusterLoadSequential may want to enable security.)

        Attachments

        1. addendum-0.94.patch
          7 kB
          Andrew Kyle Purtell
        2. addendum-trunk.patch
          9 kB
          Andrew Kyle Purtell
        3. HBASE-8209-0.94-v3.patch
          14 kB
          Andrew Kyle Purtell
        4. HBASE-8209-trunk-v3.patch
          18 kB
          Andrew Kyle Purtell
        5. HBASE-8209-0.94-v2.patch
          14 kB
          Andrew Kyle Purtell
        6. HBASE-8209-trunk-v2.patch
          18 kB
          Andrew Kyle Purtell
        7. HBASE-8209-0.94.patch
          14 kB
          Andrew Kyle Purtell
        8. HBASE-8209-trunk.patch
          18 kB
          Andrew Kyle Purtell

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                apurtell Andrew Kyle Purtell
                Reporter:
                apurtell Andrew Kyle Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: