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 (Created) (JIRA)" <ji...@apache.org> on 2011/10/20 21:50:11 UTC

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

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

        

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

Posted by "nkeywal (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137300#comment-13137300 ] 

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

yes, I am just not sure on how to set it as replicate

On Thu, Oct 27, 2011 at 7:16 PM, stack (Commented) (JIRA)


                
> 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

        

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

Posted by "stack (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-4639.
--------------------------

    Resolution: Fixed

Fixed over in HBASE-4634.
                
> 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

        

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

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137292#comment-13137292 ] 

stack commented on HBASE-4639:
------------------------------

Can we close this N?
                
> 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

        

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

Posted by "nkeywal (Commented) (JIRA)" <ji...@apache.org>.
    [ 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