Bigtop
  1. Bigtop
  2. BIGTOP-321

Make TestLoadAndVerify parameterizable and runnable from command line

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.3.0, 0.4.0
    • Component/s: Tests
    • Labels:

      Description

      The default TestLoadAndVerify hardcodes some large values and also does not the verification jobs from being run from the command line. This patch will generalize the test so that it will remain usable as a test case and also as a more general purpose commandline test.

      1. bigtop-321.patch
        6 kB
        Jonathan Hsieh
      2. bigtop-321.v2.patch
        7 kB
        Jonathan Hsieh

        Activity

        Hide
        Jonathan Hsieh added a comment -

        For help:

        $ HBASE_CLASSPATH=<path>/hbase-smoke-<version>.jar  hbase org.apache.bigtop.itest.hbase.system.TestLoadAndVerify
        

        Tested on small test cluster:

        $ HBASE_CLASSPATH=<path>/hbase-smoke-<version>.jar  hbase org.apache.bigtop.itest.hbase.system.TestLoadAndVerify -Dloadmapper.num_to_write=100 loadAndVerify
        $ HBASE_CLASSPATH=<path>/hbase-smoke-<version>.jar  hbase org.apache.bigtop.itest.hbase.system.TestLoadAndVerify -Dloadmapper.table=<targettable> verify
        
        Show
        Jonathan Hsieh added a comment - For help: $ HBASE_CLASSPATH=<path>/hbase-smoke-<version>.jar hbase org.apache.bigtop.itest.hbase.system.TestLoadAndVerify Tested on small test cluster: $ HBASE_CLASSPATH=<path>/hbase-smoke-<version>.jar hbase org.apache.bigtop.itest.hbase.system.TestLoadAndVerify -Dloadmapper.num_to_write=100 loadAndVerify $ HBASE_CLASSPATH=<path>/hbase-smoke-<version>.jar hbase org.apache.bigtop.itest.hbase.system.TestLoadAndVerify -Dloadmapper.table=<targettable> verify
        Hide
        Jonathan Hsieh added a comment -

        new patch coming that adds more parameters and fixes a problem with previous patch.

        Show
        Jonathan Hsieh added a comment - new patch coming that adds more parameters and fixes a problem with previous patch.
        Hide
        Jonathan Hsieh added a comment -

        Updated patch that fixes table deletion problem and adds more parameterization.

        Show
        Jonathan Hsieh added a comment - Updated patch that fixes table deletion problem and adds more parameterization.
        Hide
        Roman Shaposhnik added a comment -

        +1. Thanks for the patch and I'll commit in a moment.

        Show
        Roman Shaposhnik added a comment - +1. Thanks for the patch and I'll commit in a moment.

          People

          • Assignee:
            Jonathan Hsieh
            Reporter:
            Jonathan Hsieh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development