hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nkeywal (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5693) When creating a region, the master initializes it and creates a memstore within the master server
Date Sun, 01 Apr 2012 15:42:29 GMT

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

nkeywal commented on HBASE-5693:
--------------------------------

I didn't look very far in the code. CreateTableHandler  is executed on the
master. It does not need to initialize the memstore & so on.
The underlying method is called from the region server as well; and here
the initialization code is called. May be there is some thing more complex
I didn't see, but at least all the unit tests went well.



On Sun, Apr 1, 2012 at 5:28 PM, Ted Yu (Commented) (JIRA)


                
> When creating a region, the master initializes it and creates a memstore within the master
server
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5693
>                 URL: https://issues.apache.org/jira/browse/HBASE-5693
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, regionserver
>    Affects Versions: 0.96.0
>            Reporter: nkeywal
>            Assignee: nkeywal
>            Priority: Minor
>         Attachments: 5693.v1.patch
>
>
> I didn't do a complete analysis, but the attached patch saves more than 0.25s for each
region creation and locally all the unit tests work.

--
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

        

Mime
View raw message