You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Jean-Marc Spaggiari <je...@spaggiari.org> on 2014/09/24 02:32:16 UTC

0.99 in pseudo-dist?

Hi,

Trying to run HBase 0.99.0 in pseudo dist, I get this:
2014-09-23 20:31:25,283 INFO  [ActiveMasterManager] master.ServerManager:
Waiting for region servers count to settle; currently checked in 1, slept
for 57227 ms, expecting minimum of 2, maximum of 2147483647, timeout of
4500 ms, interval of 1500 ms, selfCheckedIn true

However, seems that we are only starting a single RS and master never
complete initialization.

I think it's something we should look at.

JM

Re: 0.99 in pseudo-dist?

Posted by Ted Yu <yu...@gmail.com>.
I see different exception in master log:

2014-09-24 00:51:14,265 FATAL [ActiveMasterManager] master.HMaster: Failed
to become active master
java.lang.IllegalArgumentException: Illegal character <10> at 0. Namespaces
can only contain 'alphanumeric characters': i.e. [a-zA-Z_0-9]:
^Ehbase^R^Dmeta
        at
org.apache.hadoop.hbase.TableName.isLegalNamespaceName(TableName.java:215)
        at
org.apache.hadoop.hbase.TableName.isLegalNamespaceName(TableName.java:204)
        at org.apache.hadoop.hbase.TableName.<init>(TableName.java:307)
        at
org.apache.hadoop.hbase.TableName.createTableNameIfNecessary(TableName.java:344)
        at org.apache.hadoop.hbase.TableName.valueOf(TableName.java:465)
        at
org.apache.hadoop.hbase.protobuf.ProtobufUtil.toTableName(ProtobufUtil.java:2652)
        at
org.apache.hadoop.hbase.HTableDescriptor.convert(HTableDescriptor.java:1497)
        at
org.apache.hadoop.hbase.HTableDescriptor.parseFrom(HTableDescriptor.java:1459)
        at
org.apache.hadoop.hbase.util.FSTableDescriptors.readTableDescriptor(FSTableDescriptors.java:528)
        at
org.apache.hadoop.hbase.util.FSTableDescriptors.createTableDescriptorForTableDirectory(FSTableDescriptors.java:714)
        at
org.apache.hadoop.hbase.util.FSTableDescriptors.createTableDescriptor(FSTableDescriptors.java:690)
        at
org.apache.hadoop.hbase.util.FSTableDescriptors.createTableDescriptor(FSTableDescriptors.java:677)
        at
org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:457)
        at
org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:145)
        at
org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:125)
        at
org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:479)

Has anyone else seen the above ?

On Tue, Sep 23, 2014 at 5:41 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Thanks for the hint. I will do that.
>
> Should we not set this value to 1 by default if it blocks the startup
> process?
>
> 2014-09-23 20:37 GMT-04:00 Ted Yu <yu...@gmail.com>:
>
> > Please set hbase.master.wait.on.regionservers.mintostart to 1
> >
> > Cheers
> >
> > On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
> > jean-marc@spaggiari.org> wrote:
> >
> > > Hi,
> > >
> > > Trying to run HBase 0.99.0 in pseudo dist, I get this:
> > > 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager]
> master.ServerManager:
> > > Waiting for region servers count to settle; currently checked in 1,
> slept
> > > for 57227 ms, expecting minimum of 2, maximum of 2147483647, timeout of
> > > 4500 ms, interval of 1500 ms, selfCheckedIn true
> > >
> > > However, seems that we are only starting a single RS and master never
> > > complete initialization.
> > >
> > > I think it's something we should look at.
> > >
> > > JM
> > >
> >
>

Re: 0.99 in pseudo-dist?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Ok. It works with branch-1 but not with 0.99.0. Just tried the 2.

JMS

2014-09-23 21:10 GMT-04:00 Jean-Marc Spaggiari <je...@spaggiari.org>:

> I tried with 0.99 I will retry with branch-1...
>
> 2014-09-23 21:05 GMT-04:00 Ted Yu <yu...@gmail.com>:
>
> J-M:
>> Clearing out /tmp did the trick.
>>
>> I tried with tip of branch-1 and I didn't see the problem you mentioned in
>> your first email.
>>
>> Cheers
>>
>> On Tue, Sep 23, 2014 at 5:58 PM, Jean-Marc Spaggiari <
>> jean-marc@spaggiari.org> wrote:
>>
>> > So what is the solution to start in pseudo dist? Or is that only
>> impacting
>> > 0.99.0 and I should try with 0.99.x?
>> >
>> > @Ted: No, haven't see that. Make sure your /tmp folder has been
>> cleared...
>> >
>> > 2014-09-23 20:52 GMT-04:00 Enis Söztutar <en...@gmail.com>:
>> >
>> > > We've discussed this in
>> > https://issues.apache.org/jira/browse/HBASE-11575.
>> > > It seems that the master will not know whether it is an actual
>> > distributed
>> > > setup or not.
>> > >
>> > > Enis
>> > >
>> > > On Tue, Sep 23, 2014 at 5:41 PM, Jean-Marc Spaggiari <
>> > > jean-marc@spaggiari.org> wrote:
>> > >
>> > > > Thanks for the hint. I will do that.
>> > > >
>> > > > Should we not set this value to 1 by default if it blocks the
>> startup
>> > > > process?
>> > > >
>> > > > 2014-09-23 20:37 GMT-04:00 Ted Yu <yu...@gmail.com>:
>> > > >
>> > > > > Please set hbase.master.wait.on.regionservers.mintostart to 1
>> > > > >
>> > > > > Cheers
>> > > > >
>> > > > > On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
>> > > > > jean-marc@spaggiari.org> wrote:
>> > > > >
>> > > > > > Hi,
>> > > > > >
>> > > > > > Trying to run HBase 0.99.0 in pseudo dist, I get this:
>> > > > > > 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager]
>> > > > master.ServerManager:
>> > > > > > Waiting for region servers count to settle; currently checked
>> in 1,
>> > > > slept
>> > > > > > for 57227 ms, expecting minimum of 2, maximum of 2147483647,
>> > timeout
>> > > of
>> > > > > > 4500 ms, interval of 1500 ms, selfCheckedIn true
>> > > > > >
>> > > > > > However, seems that we are only starting a single RS and master
>> > never
>> > > > > > complete initialization.
>> > > > > >
>> > > > > > I think it's something we should look at.
>> > > > > >
>> > > > > > JM
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
>

Re: 0.99 in pseudo-dist?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
I tried with 0.99 I will retry with branch-1...

2014-09-23 21:05 GMT-04:00 Ted Yu <yu...@gmail.com>:

> J-M:
> Clearing out /tmp did the trick.
>
> I tried with tip of branch-1 and I didn't see the problem you mentioned in
> your first email.
>
> Cheers
>
> On Tue, Sep 23, 2014 at 5:58 PM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org> wrote:
>
> > So what is the solution to start in pseudo dist? Or is that only
> impacting
> > 0.99.0 and I should try with 0.99.x?
> >
> > @Ted: No, haven't see that. Make sure your /tmp folder has been
> cleared...
> >
> > 2014-09-23 20:52 GMT-04:00 Enis Söztutar <en...@gmail.com>:
> >
> > > We've discussed this in
> > https://issues.apache.org/jira/browse/HBASE-11575.
> > > It seems that the master will not know whether it is an actual
> > distributed
> > > setup or not.
> > >
> > > Enis
> > >
> > > On Tue, Sep 23, 2014 at 5:41 PM, Jean-Marc Spaggiari <
> > > jean-marc@spaggiari.org> wrote:
> > >
> > > > Thanks for the hint. I will do that.
> > > >
> > > > Should we not set this value to 1 by default if it blocks the startup
> > > > process?
> > > >
> > > > 2014-09-23 20:37 GMT-04:00 Ted Yu <yu...@gmail.com>:
> > > >
> > > > > Please set hbase.master.wait.on.regionservers.mintostart to 1
> > > > >
> > > > > Cheers
> > > > >
> > > > > On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
> > > > > jean-marc@spaggiari.org> wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > Trying to run HBase 0.99.0 in pseudo dist, I get this:
> > > > > > 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager]
> > > > master.ServerManager:
> > > > > > Waiting for region servers count to settle; currently checked in
> 1,
> > > > slept
> > > > > > for 57227 ms, expecting minimum of 2, maximum of 2147483647,
> > timeout
> > > of
> > > > > > 4500 ms, interval of 1500 ms, selfCheckedIn true
> > > > > >
> > > > > > However, seems that we are only starting a single RS and master
> > never
> > > > > > complete initialization.
> > > > > >
> > > > > > I think it's something we should look at.
> > > > > >
> > > > > > JM
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: 0.99 in pseudo-dist?

Posted by Ted Yu <yu...@gmail.com>.
J-M:
Clearing out /tmp did the trick.

I tried with tip of branch-1 and I didn't see the problem you mentioned in
your first email.

Cheers

On Tue, Sep 23, 2014 at 5:58 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> So what is the solution to start in pseudo dist? Or is that only impacting
> 0.99.0 and I should try with 0.99.x?
>
> @Ted: No, haven't see that. Make sure your /tmp folder has been cleared...
>
> 2014-09-23 20:52 GMT-04:00 Enis Söztutar <en...@gmail.com>:
>
> > We've discussed this in
> https://issues.apache.org/jira/browse/HBASE-11575.
> > It seems that the master will not know whether it is an actual
> distributed
> > setup or not.
> >
> > Enis
> >
> > On Tue, Sep 23, 2014 at 5:41 PM, Jean-Marc Spaggiari <
> > jean-marc@spaggiari.org> wrote:
> >
> > > Thanks for the hint. I will do that.
> > >
> > > Should we not set this value to 1 by default if it blocks the startup
> > > process?
> > >
> > > 2014-09-23 20:37 GMT-04:00 Ted Yu <yu...@gmail.com>:
> > >
> > > > Please set hbase.master.wait.on.regionservers.mintostart to 1
> > > >
> > > > Cheers
> > > >
> > > > On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
> > > > jean-marc@spaggiari.org> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > Trying to run HBase 0.99.0 in pseudo dist, I get this:
> > > > > 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager]
> > > master.ServerManager:
> > > > > Waiting for region servers count to settle; currently checked in 1,
> > > slept
> > > > > for 57227 ms, expecting minimum of 2, maximum of 2147483647,
> timeout
> > of
> > > > > 4500 ms, interval of 1500 ms, selfCheckedIn true
> > > > >
> > > > > However, seems that we are only starting a single RS and master
> never
> > > > > complete initialization.
> > > > >
> > > > > I think it's something we should look at.
> > > > >
> > > > > JM
> > > > >
> > > >
> > >
> >
>

Re: 0.99 in pseudo-dist?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
So what is the solution to start in pseudo dist? Or is that only impacting
0.99.0 and I should try with 0.99.x?

@Ted: No, haven't see that. Make sure your /tmp folder has been cleared...

2014-09-23 20:52 GMT-04:00 Enis Söztutar <en...@gmail.com>:

> We've discussed this in https://issues.apache.org/jira/browse/HBASE-11575.
> It seems that the master will not know whether it is an actual distributed
> setup or not.
>
> Enis
>
> On Tue, Sep 23, 2014 at 5:41 PM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org> wrote:
>
> > Thanks for the hint. I will do that.
> >
> > Should we not set this value to 1 by default if it blocks the startup
> > process?
> >
> > 2014-09-23 20:37 GMT-04:00 Ted Yu <yu...@gmail.com>:
> >
> > > Please set hbase.master.wait.on.regionservers.mintostart to 1
> > >
> > > Cheers
> > >
> > > On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
> > > jean-marc@spaggiari.org> wrote:
> > >
> > > > Hi,
> > > >
> > > > Trying to run HBase 0.99.0 in pseudo dist, I get this:
> > > > 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager]
> > master.ServerManager:
> > > > Waiting for region servers count to settle; currently checked in 1,
> > slept
> > > > for 57227 ms, expecting minimum of 2, maximum of 2147483647, timeout
> of
> > > > 4500 ms, interval of 1500 ms, selfCheckedIn true
> > > >
> > > > However, seems that we are only starting a single RS and master never
> > > > complete initialization.
> > > >
> > > > I think it's something we should look at.
> > > >
> > > > JM
> > > >
> > >
> >
>

Re: 0.99 in pseudo-dist?

Posted by Enis Söztutar <en...@gmail.com>.
We've discussed this in https://issues.apache.org/jira/browse/HBASE-11575.
It seems that the master will not know whether it is an actual distributed
setup or not.

Enis

On Tue, Sep 23, 2014 at 5:41 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Thanks for the hint. I will do that.
>
> Should we not set this value to 1 by default if it blocks the startup
> process?
>
> 2014-09-23 20:37 GMT-04:00 Ted Yu <yu...@gmail.com>:
>
> > Please set hbase.master.wait.on.regionservers.mintostart to 1
> >
> > Cheers
> >
> > On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
> > jean-marc@spaggiari.org> wrote:
> >
> > > Hi,
> > >
> > > Trying to run HBase 0.99.0 in pseudo dist, I get this:
> > > 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager]
> master.ServerManager:
> > > Waiting for region servers count to settle; currently checked in 1,
> slept
> > > for 57227 ms, expecting minimum of 2, maximum of 2147483647, timeout of
> > > 4500 ms, interval of 1500 ms, selfCheckedIn true
> > >
> > > However, seems that we are only starting a single RS and master never
> > > complete initialization.
> > >
> > > I think it's something we should look at.
> > >
> > > JM
> > >
> >
>

Re: 0.99 in pseudo-dist?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Thanks for the hint. I will do that.

Should we not set this value to 1 by default if it blocks the startup
process?

2014-09-23 20:37 GMT-04:00 Ted Yu <yu...@gmail.com>:

> Please set hbase.master.wait.on.regionservers.mintostart to 1
>
> Cheers
>
> On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org> wrote:
>
> > Hi,
> >
> > Trying to run HBase 0.99.0 in pseudo dist, I get this:
> > 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager] master.ServerManager:
> > Waiting for region servers count to settle; currently checked in 1, slept
> > for 57227 ms, expecting minimum of 2, maximum of 2147483647, timeout of
> > 4500 ms, interval of 1500 ms, selfCheckedIn true
> >
> > However, seems that we are only starting a single RS and master never
> > complete initialization.
> >
> > I think it's something we should look at.
> >
> > JM
> >
>

Re: 0.99 in pseudo-dist?

Posted by lars hofhansl <la...@apache.org>.
I thought that was only needed for the colocated master/meta stuff where master is also a region server.
(possibly I am confused)



________________________________
 From: Ted Yu <yu...@gmail.com>
To: "dev@hbase.apache.org" <de...@hbase.apache.org> 
Sent: Tuesday, September 23, 2014 5:37 PM
Subject: Re: 0.99 in pseudo-dist?
 

Please set hbase.master.wait.on.regionservers.mintostart to 1

Cheers




On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Hi,
>
> Trying to run HBase 0.99.0 in pseudo dist, I get this:
> 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager] master.ServerManager:
> Waiting for region servers count to settle; currently checked in 1, slept
> for 57227 ms, expecting minimum of 2, maximum of 2147483647, timeout of
> 4500 ms, interval of 1500 ms, selfCheckedIn true
>
> However, seems that we are only starting a single RS and master never
> complete initialization.
>
> I think it's something we should look at.
>
> JM
>

Re: 0.99 in pseudo-dist?

Posted by Ted Yu <yu...@gmail.com>.
Please set hbase.master.wait.on.regionservers.mintostart to 1

Cheers

On Tue, Sep 23, 2014 at 5:32 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Hi,
>
> Trying to run HBase 0.99.0 in pseudo dist, I get this:
> 2014-09-23 20:31:25,283 INFO  [ActiveMasterManager] master.ServerManager:
> Waiting for region servers count to settle; currently checked in 1, slept
> for 57227 ms, expecting minimum of 2, maximum of 2147483647, timeout of
> 4500 ms, interval of 1500 ms, selfCheckedIn true
>
> However, seems that we are only starting a single RS and master never
> complete initialization.
>
> I think it's something we should look at.
>
> JM
>