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

PerformanceEvaluation: Report aggregate timings on a single line

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.92.0
    • 0.95.0
    • Performance
    • None
    • Reviewed

    Description

      When running PerformanceEvaluation with --nomapred it's hard to locate all the lines saying Finished 14 in 292979ms writing 2000000 rows in the output. This change adds a couples line to summarize the run at the end, which makes parsing and scripting the output easier:

      12/03/06 00:43:58 INFO hbase.PerformanceEvaluation: [RandomWriteTest] Summary of timings (ms): [15940, 15776, 15866, 15973, 15682, 15740, 15764, 15830, 15768, 15968, 15921, 15755, 15963, 15818, 15903, 15662]
      12/03/06 00:43:58 INFO hbase.PerformanceEvaluation: [RandomWriteTest]	Min: 15662ms	Max: 15973ms	Avg: 15833ms
      

      Patch also removes a couple minor code smells.

      Attachments

        1. 0001-PerformanceEvaluation-fixes.patch
          4 kB
          Benoit Sigoure
        2. 0001-PerformanceEvaluation-fixes.patch
          6 kB
          Benoit Sigoure

        Issue Links

          Activity

            People

              tsuna Benoit Sigoure
              tsuna Benoit Sigoure
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: