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

Consolidate printUsage in IntegrationTestLoadAndVerify

    XMLWordPrintableJSON

Details

    Description

      Investigating the use of itlav is a little screwy. Subclasses are not overriding the printUsage() methods correctly, so you have to pass --help to get some info and no arguments to get the rest.

      [hbase@ndimiduk-112rc2-7 ~]$ hbase org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify --help
      usage: bin/hbase org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify <options>
      Options:
       -h,--help                 Show usage
       -m,--monkey <arg>         Which chaos monkey to run
       -monkeyProps <arg>        The properties file for specifying chaos monkey properties.
       -ncc,--noClusterCleanUp   Don't clean up the cluster at the end
      [hbase@ndimiduk-112rc2-7 ~]$ hbase org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify
      IntegrationTestLoadAndVerify [-Doptions] <load|verify|loadAndVerify>
        Loads a table with row dependencies and verifies the dependency chains
      Options
        -Dloadmapper.table=<name>        Table to write/verify (default autogen)
        -Dloadmapper.backrefs=<n>        Number of backreferences per row (default 50)
        -Dloadmapper.num_to_write=<n>    Number of rows per mapper (default 100,000 per mapper)
        -Dloadmapper.deleteAfter=<bool>  Delete after a successful verify (default true)
        -Dloadmapper.numPresplits=<n>    Number of presplit regions to start with (default 40)
        -Dloadmapper.map.tasks=<n>       Number of map tasks for load (default 200)
        -Dverify.reduce.tasks=<n>        Number of reduce tasks for verify (default 35)
        -Dverify.scannercaching=<n>      Number hbase scanner caching rows to read (default 50)
      

      Attachments

        1. itlv.png
          100 kB
          Reid Chan
        2. itlav-2016-07-07.png
          148 kB
          Reid Chan
        3. HBASE-14345.patch
          3 kB
          Reid Chan
        4. HBASE-14345.master.002.patch
          3 kB
          Reid Chan
        5. HBASE-14345.master.001.patch
          3 kB
          Reid Chan
        6. HBASE-14345.004.patch
          3 kB
          Reid Chan
        7. HBASE-14345.003.patch
          3 kB
          Reid Chan
        8. HBASE-14345.002.patch
          3 kB
          Reid Chan

        Activity

          People

            reidchan Reid Chan
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: