hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Duxbury (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-410) Speed up the test suite
Date Fri, 29 Feb 2008 23:03:51 GMT

    [ https://issues.apache.org/jira/browse/HBASE-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574001#action_12574001
] 

Bryan Duxbury commented on HBASE-410:
-------------------------------------

With HBASE-479 applied, here's the new table. (It also includes the previously excluded TestRegionServerExit
test)

||Run Time (secs)||Test File||Test Name||
|86.412|TestTableMapReduce|testTableMapReduce|
|73.494|TestTableIndex|testTableIndex|
|57.616|TestRegionServerExit|testCleanExit|
|51.456|TestLogRolling|testLogRolling|
|50.398|TestRegionServerExit|testAbort|
|49.452|TestMergeMeta|testMergeMeta|
|47.46|TestHBaseCluster|testHBaseCluster|
|43.5|TestHQL|testCreateDeleteTable|
|33.642|TestMergeTable|testMergeTable|
|26.773|TestListTables|testListTables|
|23.624|TestTable|testTableNameClash|
|23.577|TestHTable|testHTable|
|22.547|TestTable|testCreateTable|
|22.387|TestMasterAdmin|testMasterAdmin|
|21.469|TestScannerAPI|testApi|
|18.53|TestBloomFilters|testExplicitParameters|
|17.483|TestInfoServers|testInfoServersAreUp|
|16.889|TestHQL|testInsertSelectDelete|
|16.536|TestMigrate|testUpgrade|
|16.521|TestMultipleUpdates|testMultipleUpdates|
|16.504|TestBatchUpdate|testBatchUpdate|
|15.619|TestBloomFilters|testComputedParameters|
|15.404|TestSplit|testBasicSplit|
|14.595|TestHTable|testTableNotFoundExceptionWithATable|
|14.354|TestCompaction|testCompaction|
|12.6|TestTimestamp|testTimestamps|
|10.069|TestHRegion|testHRegion|

> Speed up the test suite
> -----------------------
>
>                 Key: HBASE-410
>                 URL: https://issues.apache.org/jira/browse/HBASE-410
>             Project: Hadoop HBase
>          Issue Type: Test
>          Components: test
>            Reporter: Bryan Duxbury
>            Priority: Minor
>             Fix For: 0.2.0
>
>
> The test suite takes a long time to run, and a lot of the time spent running is really
wasted on repeated startup and shutdown, waiting for asynchronous events to occur, and production-tuned
timeouts to occur. Additionally, we use a MiniDFS instead of the local filesystem. 
> We should:
>  - Make whatever changes are needed to the local DFS so that it can run on Windows and
use that as the basis of all of our tests
>  - Minimize redoing expensive setup where possible by combining tests into groups or
suites that can share common setup
>  - Create a way of running all the parts (Master, Regionserver, Client) in a single thread
and explicitly advancing through necessary states so that we can reliably and quickly get
what we need tested accomplished
>  - Use smaller test datasets where it would make a difference (TestTableIndex and TestTableMapReduce,
I'm looking at you!)
> A faster test suite means faster turnaround on new patches, faster Hudson, and a shorter
patch queue. Not to mention less annoyance on the part of the developers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message