[
https://issues.apache.org/jira/browse/HBASE-8904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elliott Clark updated HBASE-8904:
---------------------------------
Attachment: HBASE-8904-0.patch
Here's a patch that adds tracing and better timing.
results now look like:
{code}
2013-07-09 11:00:32,566 INFO [main] mttr.IntegrationTestMTTR(307):
MTTRResults{resultPuts=[TimingResult{numResults=5254, minTime=0.0,
meanTime=0.8547773125238134, maxTime=26.0, 25th=0.0, 50th=1.0, 75th=1.0,
90th=1.0, 95th=2.0, 99th=4.0, 99.9th=8.74499999999989, 99.99th=26.0,
traces=[]}, TimingResult{numResults=2688, minTime=1.0,
meanTime=2.236979166666668, maxTime=18.0, 25th=2.0, 50th=2.0, 75th=2.0,
90th=3.0, 95th=5.0, 99th=6.0, 99.9th=11.866000000000895, 99.99th=18.0,
traces=[]}, TimingResult{numResults=4284, minTime=1.0,
meanTime=2.2504668534080303, maxTime=14.0, 25th=2.0, 50th=2.0, 75th=2.0,
90th=2.0, 95th=5.0, 99th=6.0, 99.9th=8.0, 99.99th=14.0, traces=[]}],
resultScan=[TimingResult{numResults=5124, minTime=0.0,
meanTime=0.8350897736143853, maxTime=17.0, 25th=0.0, 50th=1.0, 75th=1.0,
90th=2.0, 95th=3.0, 99th=6.0, 99.9th=11.0, 99.99th=17.0, traces=[]},
TimingResult{numResults=2657, minTime=0.0, meanTime=2.258562288295071,
maxTime=16.0, 25th=2.0, 50th=2.0, 75th=2.0, 90th=4.0, 95th=5.0, 99th=6.0,
99.9th=12.05200000000059, 99.99th=16.0, traces=[]},
TimingResult{numResults=4241, minTime=1.0, meanTime=2.2558358877623204,
maxTime=12.0, 25th=2.0, 50th=2.0, 75th=2.0, 90th=3.0, 95th=5.0, 99th=6.0,
99.9th=8.0, 99.99th=12.0, traces=[]}], resultAdmin=[TimingResult{numResults=10,
minTime=1.0, meanTime=1116.5999999999997, maxTime=11096.0, 25th=1.0, 50th=6.0,
75th=18.5, 90th=9989.000000000004, 95th=11096.0, 99th=11096.0, 99.9th=11096.0,
99.99th=11096.0, traces=[2631057407397344743]}, TimingResult{numResults=13,
minTime=2.0, meanTime=857.8461538461537, maxTime=11107.0, 25th=2.0, 50th=2.0,
75th=4.0, 90th=6671.799999999996, 95th=11107.0, 99th=11107.0, 99.9th=11107.0,
99.99th=11107.0, traces=[5771923373304129375]}, TimingResult{numResults=12,
minTime=2.0, meanTime=1266.8333333333333, maxTime=15166.0, 25th=2.0, 50th=2.0,
75th=6.5, 90th=10619.19999999999, 95th=15166.0, 99th=15166.0, 99.9th=15166.0,
99.99th=15166.0, traces=[-8633877830374384774]}], totalRuntimeMs=136280,
name=RestartMaster}
{code}
Which with some formatting looks like:
{code}
MTTRResults{
resultPuts=[
TimingResult{numResults=5254, minTime=0.0, meanTime=0.8547773125238134,
maxTime=26.0, 25th=0.0, 50th=1.0, 75th=1.0, 90th=1.0, 95th=2.0, 99th=4.0,
99.9th=8.74499999999989, 99.99th=26.0, traces=[]},
TimingResult{numResults=2688, minTime=1.0, meanTime=2.236979166666668,
maxTime=18.0, 25th=2.0, 50th=2.0, 75th=2.0, 90th=3.0, 95th=5.0, 99th=6.0,
99.9th=11.866000000000895, 99.99th=18.0, traces=[]},
TimingResult{numResults=4284, minTime=1.0, meanTime=2.2504668534080303,
maxTime=14.0, 25th=2.0, 50th=2.0, 75th=2.0, 90th=2.0, 95th=5.0, 99th=6.0,
99.9th=8.0, 99.99th=14.0, traces=[]}
],
resultScan=[
TimingResult{numResults=5124, minTime=0.0, meanTime=0.8350897736143853,
maxTime=17.0, 25th=0.0, 50th=1.0, 75th=1.0, 90th=2.0, 95th=3.0, 99th=6.0,
99.9th=11.0, 99.99th=17.0, traces=[]},
TimingResult{numResults=2657, minTime=0.0, meanTime=2.258562288295071,
maxTime=16.0, 25th=2.0, 50th=2.0, 75th=2.0, 90th=4.0, 95th=5.0, 99th=6.0,
99.9th=12.05200000000059, 99.99th=16.0, traces=[]},
TimingResult{numResults=4241, minTime=1.0, meanTime=2.2558358877623204,
maxTime=12.0, 25th=2.0, 50th=2.0, 75th=2.0, 90th=3.0, 95th=5.0, 99th=6.0,
99.9th=8.0, 99.99th=12.0, traces=[]}
],
resultAdmin=[
TimingResult{numResults=10, minTime=1.0, meanTime=1116.5999999999997,
maxTime=11096.0, 25th=1.0, 50th=6.0, 75th=18.5, 90th=9989.000000000004,
95th=11096.0, 99th=11096.0, 99.9th=11096.0, 99.99th=11096.0,
traces=[2631057407397344743]},
TimingResult{numResults=13, minTime=2.0, meanTime=857.8461538461537,
maxTime=11107.0, 25th=2.0, 50th=2.0, 75th=4.0, 90th=6671.799999999996,
95th=11107.0, 99th=11107.0, 99.9th=11107.0, 99.99th=11107.0,
traces=[5771923373304129375]},
TimingResult{numResults=12, minTime=2.0, meanTime=1266.8333333333333,
maxTime=15166.0, 25th=2.0, 50th=2.0, 75th=6.5, 90th=10619.19999999999,
95th=15166.0, 99th=15166.0, 99.9th=15166.0, 99.99th=15166.0,
traces=[-8633877830374384774]}
],
totalRuntimeMs=136280,
name=RestartMaster
}
{code}
> Clean up IntegrationTestMTTR and add small features.
> ----------------------------------------------------
>
> Key: HBASE-8904
> URL: https://issues.apache.org/jira/browse/HBASE-8904
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.98.0, 0.95.2
> Reporter: Elliott Clark
> Assignee: Elliott Clark
> Attachments: HBASE-8904-0.patch
>
>
> * Clean up the Long overflow (oops)
> * Clean up the usage of tableName vs tableNameBytes
> * Add in more than just max time.
> * Add in tracing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira