createTable should be synchronous. If 3744 accidentally made it completely
async that's a bug. But, as JD said, it should only be synchronous on the
regions of the new tables, rather than blocking on regions-in-transition
from other tables.

-Todd

On Thu, Jun 16, 2011 at 2:39 PM, Ted Yu <yuzhih...@gmail.com> wrote:

> https://issues.apache.org/jira/browse/HBASE-3744 has been fixed.
>
> FYI
> On Fri, Jun 17, 2011 at 5:32 AM, Jean-Daniel Cryans <jdcry...@apache.org
> >wrote:
>
> > Can you point to the issue where Todd did the revert?
> >
> > Thx,
> >
> > J-D
> >
> > On Thu, Jun 16, 2011 at 2:28 PM, Ted Yu <yuzhih...@gmail.com> wrote:
> > > Hi,
> > > J-D recently expressed the idea of changing behavior of
> HBA.createTable()
> > to
> > > be consistent with its javadoc.
> > > Meaning, HBA.createTable() should be synchronous.
> > >
> > > Todd reported an issue which resulted in reverting my changes that
> caused
> > > HBA.createTable() to be synchronous.
> > >
> > > I want to see if we can reach consensus on how HBASE 3904 should be
> > handled.
> > >
> > > We have 3 options:
> > > 1. making HBA.createTable() to be synchronous in TRUNK
> > > 2. pass initial region count in HTD
> > > 3. add new method in HBA for synchronous table creation
> > >
> > > Thanks
> > >
> >
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Reply via email to