[ 
https://issues.apache.org/jira/browse/HBASE-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Gray updated HBASE-4641:
---------------------------------

    Attachment: HBASE-4641-v1.patch

In the HMaster constructor, makes a local copy of the passed-in Configuration 
and then sets the cache size to 0.

This seems like the wrong way to do this.

It seems like the only way this happens now is on create table (because HRegion 
instantiation happens in master at this time).  I could set/reset the conf in 
that place instead?
                
> Block cache can be mistakenly instantiated on Master
> ----------------------------------------------------
>
>                 Key: HBASE-4641
>                 URL: https://issues.apache.org/jira/browse/HBASE-4641
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.92.0
>
>         Attachments: HBASE-4641-v1.patch
>
>
> After changes in the block cache instantiation over in HBASE-4422, it looks 
> like the HMaster can now end up with a block cache instantiated.  Not a huge 
> deal but prevents the process from shutting down properly.

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

        

Reply via email to