Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-321

Make TestLoadAndVerify parameterizable and runnable from command line

    Details

    • Type: Test
    • Status: Closed
    • Priority: 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
        jmhsieh 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
        jmhsieh 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
        jmhsieh Jonathan Hsieh added a comment -

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

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

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

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

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development