You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "nkeywal (Commented) (JIRA)" <ji...@apache.org> on 2011/10/27 18:50:32 UTC

[jira] [Commented] (HBASE-4639) DFS Cluster is used while not needed in some unit tests

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

nkeywal commented on HBASE-4639:
--------------------------------

Was actually implemented in HBASE-4634. On the tests mentioned above, on the central build, it brings the time from 4 minutes to 17 seconds.
                
> DFS Cluster is used while not needed in some unit tests
> -------------------------------------------------------
>
>                 Key: HBASE-4639
>                 URL: https://issues.apache.org/jira/browse/HBASE-4639
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.94.0
>         Environment: all
>            Reporter: nkeywal
>            Assignee: nkeywal
>            Priority: Minor
>
> Some tests could go directly to the localsystem instead of using a DFS cluster. This speeds-up the test.
> TestScanner From 60s to 5s
> TestCompaction from 140s to 15s
> TestGetClosestAtOrBefore from 9s to 1s
> TestStoreFile from 30s to 2s
> TestWideScanner: 18s -> 3s
> TestFSTableDescriptorForceCreation 3s -> 1s
> There is a partial dependency with HBASE-4634, as we now write on localdisk the data is not freed when the test is over.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira