You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by balachandra maddina <ch...@gmail.com> on 2012/03/23 19:32:08 UTC
Unable to create a table using shell
HI There,
Im experimenting with 'hbase' and going through wiki document, part of
the document says use the ( create 'test', 'cf' ) command to create a
table. but when i try this the command never completes. i.e. after hitting
the command it keeps on waiting forever. any suggestions on what could be
causing the problem here please. im running on a single node hadoop with
'hbase' configured to use it. Your suggestions are very much appreciated.
Thank you,
Bala.
Re: Unable to create a table using shell
Posted by balachandra maddina <ch...@gmail.com>.
its working now. there were multiple errors i needed to correct. thank you
for the support.
-Bala.
On Sat, Mar 24, 2012 at 1:13 AM, balachandra maddina
<ch...@gmail.com>wrote:
> Yes im following the same document '
> http://hbase.apache.org/book/quickstart.html'. i see following errors in
> the log. im copying parts of the log file here
>
> txntype:-1 reqpath:n/a Error Path:/hbase/root-region-server
> Error:KeeperErrorCode = NoNode for /hbase/root-region-server
> RecoverableZooKeeper: Node /hbase/root-region-server already deleted, and
> this is not a retry
> BaseRPC: Server at localhost/127.0.0.1:58222 could not be reached after 1
> tries, giving up.
> RetriesExhaustedException: Failed setting up proxy interface
> org.apache.hadoop.hbase.ipc.HRegionInterface to localhost/127.0.0.1:58222after attempts=1
> at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:242)
> RetriesExhaustedException: Failed setting up proxy interface
> org.apache.hadoop.hbase.ipc.HRegionInterface to localhost/127.0.0.1:58222after attempts=1
>
> Caused by: java.net.ConnectException: Connection refused
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701)
> at
> org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
>
>
> Does this mean i have some setup problem with region server. if so could
> you help me understand what could be possible causing this problem please.
>
> Thank you,
> Bala.
>
> On Sat, Mar 24, 2012 at 12:55 AM, Stack <st...@duboce.net> wrote:
>
>> On Fri, Mar 23, 2012 at 12:22 PM, balachandra maddina
>> <ch...@gmail.com> wrote:
>> > Hi Harsh,
>> >
>> > Thank you for the reply. when i checked the page im seeing following
>> > details for regionservers
>> >
>>
>> That looks right.
>>
>> Creating a table, it just hangs? It never timesout? What do the logs
>> for the master say? (See under logs/*). You state you are following
>> wiki above. You should be using the reference guide:
>> http://hbase.apache.org/book/quickstart.html
>>
>> St.Ack
>>
>
>
Re: Unable to create a table using shell
Posted by balachandra maddina <ch...@gmail.com>.
Yes im following the same document '
http://hbase.apache.org/book/quickstart.html'. i see following errors in
the log. im copying parts of the log file here
txntype:-1 reqpath:n/a Error Path:/hbase/root-region-server
Error:KeeperErrorCode = NoNode for /hbase/root-region-server
RecoverableZooKeeper: Node /hbase/root-region-server already deleted, and
this is not a retry
BaseRPC: Server at localhost/127.0.0.1:58222 could not be reached after 1
tries, giving up.
RetriesExhaustedException: Failed setting up proxy interface
org.apache.hadoop.hbase.ipc.HRegionInterface to
localhost/127.0.0.1:58222after attempts=1
at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:242)
RetriesExhaustedException: Failed setting up proxy interface
org.apache.hadoop.hbase.ipc.HRegionInterface to
localhost/127.0.0.1:58222after attempts=1
Caused by: java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701)
at
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
Does this mean i have some setup problem with region server. if so could
you help me understand what could be possible causing this problem please.
Thank you,
Bala.
On Sat, Mar 24, 2012 at 12:55 AM, Stack <st...@duboce.net> wrote:
> On Fri, Mar 23, 2012 at 12:22 PM, balachandra maddina
> <ch...@gmail.com> wrote:
> > Hi Harsh,
> >
> > Thank you for the reply. when i checked the page im seeing following
> > details for regionservers
> >
>
> That looks right.
>
> Creating a table, it just hangs? It never timesout? What do the logs
> for the master say? (See under logs/*). You state you are following
> wiki above. You should be using the reference guide:
> http://hbase.apache.org/book/quickstart.html
>
> St.Ack
>
Re: Unable to create a table using shell
Posted by Stack <st...@duboce.net>.
On Fri, Mar 23, 2012 at 12:22 PM, balachandra maddina
<ch...@gmail.com> wrote:
> Hi Harsh,
>
> Thank you for the reply. when i checked the page im seeing following
> details for regionservers
>
That looks right.
Creating a table, it just hangs? It never timesout? What do the logs
for the master say? (See under logs/*). You state you are following
wiki above. You should be using the reference guide:
http://hbase.apache.org/book/quickstart.html
St.Ack
Re: Unable to create a table using shell
Posted by balachandra maddina <ch...@gmail.com>.
Hi Harsh,
Thank you for the reply. when i checked the page im seeing following
details for regionservers
Region Servers
Dead Region Servers
ServerName
localhost,42063,1332493190942
Total: servers: 1
Regions in Transition
No regions in transition.
Does this indicate that there is a problem with region server?
Thank you,
Bala.
On Sat, Mar 24, 2012 at 12:41 AM, Harsh J <ha...@cloudera.com> wrote:
> Have you ensured your HBase RegionServers are all up, and reporting on
> the HBase Master Web UI (MasterHost:60010)?
>
> On Sat, Mar 24, 2012 at 12:02 AM, balachandra maddina
> <ch...@gmail.com> wrote:
> > HI There,
> >
> > Im experimenting with 'hbase' and going through wiki document, part of
> > the document says use the ( create 'test', 'cf' ) command to create a
> > table. but when i try this the command never completes. i.e. after
> hitting
> > the command it keeps on waiting forever. any suggestions on what could be
> > causing the problem here please. im running on a single node hadoop with
> > 'hbase' configured to use it. Your suggestions are very much appreciated.
> >
> > Thank you,
> > Bala.
>
>
>
> --
> Harsh J
>
Re: Unable to create a table using shell
Posted by Harsh J <ha...@cloudera.com>.
Have you ensured your HBase RegionServers are all up, and reporting on
the HBase Master Web UI (MasterHost:60010)?
On Sat, Mar 24, 2012 at 12:02 AM, balachandra maddina
<ch...@gmail.com> wrote:
> HI There,
>
> Im experimenting with 'hbase' and going through wiki document, part of
> the document says use the ( create 'test', 'cf' ) command to create a
> table. but when i try this the command never completes. i.e. after hitting
> the command it keeps on waiting forever. any suggestions on what could be
> causing the problem here please. im running on a single node hadoop with
> 'hbase' configured to use it. Your suggestions are very much appreciated.
>
> Thank you,
> Bala.
--
Harsh J