hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From N Keywal <nkey...@gmail.com>
Subject Re: Problem - Bringing up the HBase cluster
Date Wed, 22 Aug 2012 16:00:36 GMT
If you have a single datanode with a replication of two, it will
(basically) won't work, as it will try to replicate the blocks on two
datanodes while there is only one available. Note that I'm speaking
about datanodes (i.e. hdfs) and not region servers (i.e. hbase).

pastebin the full logs with the region server, may be someone will
have an idea of the root issue.

But I think it's safer to start with the pseudo distributed, it's
easier to setup and it's documented. A distributed config with a
single node is not really standard, it's better to start with the
easiest path imho.

On Wed, Aug 22, 2012 at 5:43 PM, Jothikumar Ekanath <kbmkumar@gmail.com> wrote:
> Hi,
>          Thanks for the response, sorry i put this email in the dev space.
> My data replication is 2. and yes the region and master server connectivity
> is good
>
> Initially i started with 4 data nodes and 1 master, i faced the same
> problem. So i reduced the data nodes to 1 and wanted to test it. I see the
> same issue. I haven't tested the pseudo distribution mode, i can test that.
> But my objective is to test the full distributed mode and do some testing. I
> can send my configuration for review. Please let me know if i am missing any
> basic setup configuration.
>
>
> On Wed, Aug 22, 2012 at 12:00 AM, N Keywal <nkeywal@gmail.com> wrote:
>>
>> Hi,
>>
>> Please use the user mailing list (added at dest) for this type of
>> questions instead of the dev list (now in bcc).
>>
>> It's a little bit strange to use the full distributed mode with a
>> single region server. Is the Pseudo-distributed mode working?
>> Check the number of datanodes vs. dfs.replication (default 3). If you
>> have less datanodes then dfs.replication value, it won't work
>> properly.
>> Check as well that the region server is connected to the master.
>>
>> Cheers,
>>
>>
>>
>> On Wed, Aug 22, 2012 at 3:16 AM, kbmkumar <kbmkumar@gmail.com> wrote:
>> > Hi,
>> >       I am trying to bring up a HBase cluster with 1 master and 1 one
>> > region
>> > server. I am using
>> > Hadoop 1.0.3
>> > Hbase 0.94.1
>> >
>> > Starting the hdfs was straight forward and i could see the namenode up
>> > and
>> > running successfully. But the problem is with Hbase. I followed all the
>> > guidelines given in the Hbase cluster setup (fully distributed mode) and
>> > ran
>> > the start-hbase.sh
>> >
>> > It started the Master, Region server and zookeeper (in the region
>> > server) as
>> > per my configuration. But i am not sure the master is fully functional.
>> > When
>> > i try to connect hbase shell and create table, it errors out saying
>> > PleaseHoldException- Master is initializing
>> >
>> > In UI HMaster status shows like this *Assigning META region (since
>> > 18mins,
>> > 39sec ago)*
>> >
>> > and i see the Hmaster logs are flowing with the following debug prints,
>> > the
>> > log file is full of below prints,
>> > *
>> > 2012-08-22 01:08:19,637 DEBUG
>> >
>> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
>> > Looked up root region location,
>> >
>> > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@49586cbd;
>> > serverName=hadoop-datanode1,60020,1345596463277
>> > 2012-08-22 01:08:19,638 DEBUG
>> >
>> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
>> > Looked up root region location,
>> >
>> > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@49586cbd;
>> > serverName=hadoop-datanode1,60020,1345596463277
>> > 2012-08-22 01:08:19,639 DEBUG
>> >
>> > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation:
>> > Looked up root region location,
>> >
>> > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@49586cbd;
>> > serverName=hadoop-datanode1,60020,1345596463277*
>> >
>> > Please help me in debugging this.
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://apache-hbase.679495.n3.nabble.com/Problem-Bringing-up-the-HBase-cluster-tp4019948.html
>> > Sent from the HBase - Developer mailing list archive at Nabble.com.
>
>

Mime
View raw message