hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-730) On startup, rinse STARTCODE and SERVER from .META.
Date Wed, 09 Jul 2008 21:47:31 GMT

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

stack commented on HBASE-730:
-----------------------------

J-D: Andrew's suggestion sounds cleaner if it will work for you.  Otherwise, in your code,
looks like we could just read this.period once at the start of the method into a local variable
and use the local variable rather than this.period thereafter.  Should probably change this.period
to be volatile so threads see changes promptly.

Good stuff.

> On startup, rinse STARTCODE and SERVER from .META.
> --------------------------------------------------
>
>                 Key: HBASE-730
>                 URL: https://issues.apache.org/jira/browse/HBASE-730
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: stack
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.2.0
>
>         Attachments: hbase-730-v1.patch
>
>
> Look into what it would take purging startcode and server from .META. on startup.  It
might make startup run faster.  In particular, Clint Morgan was asking for faster startup.
 Below is from a reply.  The +1 is from JK.
> > > Looking at code, we have the concept of an 'initial' scan.  I
> > > wonder if things would run faster for you if on the initial
> > > scan we just cleared all SERVER and STARTCODE entries in
> > > .META. rather than wait on regionserver reports?
> +1

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