You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Kristoffer Sjögren <st...@gmail.com> on 2013/04/23 08:28:48 UTC
Wait for master before creating tables
Hi
Im doing an automated install of HBase cluster on EC2. But when the install
try to create tables (using hbase shell) the master often have not yet had
time start (since this operation is async), so these operations fail.
Is there a way to wait until the master is up and know when its safe to
create tables? Maybe the table 'exists' and cluster 'status' operations
could be useful here?
Cheers,
-Kristoffer
Re: Wait for master before creating tables
Posted by shashwat shriparv <dw...@gmail.com>.
On Tue, Apr 23, 2013 at 5:43 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:
> t? Or maybe look at the source code and do something si
Before working with HBase that namenode is not in safemode.
*Thanks & Regards *
∞
Shashwat Shriparv
Re: Wait for master before creating tables
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Kristoffer,
On the hbase shell, you already have a "status" command. Can you use
it? Or maybe look at the source code and do something similar? That
might allow you to see if master running as expected?
JM
2013/4/23 Kristoffer Sjögren <st...@gmail.com>:
> Hi
>
> Im doing an automated install of HBase cluster on EC2. But when the install
> try to create tables (using hbase shell) the master often have not yet had
> time start (since this operation is async), so these operations fail.
>
> Is there a way to wait until the master is up and know when its safe to
> create tables? Maybe the table 'exists' and cluster 'status' operations
> could be useful here?
>
> Cheers,
> -Kristoffer