You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Ryan Lynch <rl...@veoh.com> on 2008/04/17 22:50:46 UTC
HBase shell issues on Cygwin
Hello,
I am currently having trouble using the HBase shell on Cygwin on a
Windows box. It appears not to be grabbing the entire input. Below is
an example session.
$ bin/hbase shell
Hbase Shell, 0.0.2 version.
Copyright (c) 2007 by udanax, licensed to Apache Software Foundation.
Type 'help;' for usage.
hql > help;
Syntax error : Type 'help;' for usage.
Message : Encountered "hep" at line 1, column 2.
hql >
As you can see its taking in my "help;" input and thinking I typed
"hep"!? Any help would be appreciated.
Regards,
Ryan
RE: Regions Offline
Posted by David Alves <dr...@criticalsoftware.com>.
Hi Brian
I'm using hbase trunk (updated yesterday) and Hadoop 0.17 branch.
David
> -----Original Message-----
> From: Bryan Duxbury [mailto:bryan@rapleaf.com]
> Sent: Friday, April 18, 2008 1:41 AM
> To: hbase-user@hadoop.apache.org
> Subject: Re: Regions Offline
>
> For starters, what version of HBase/Hadoop are you using? There was a
> pretty bad bug in 0.16 that would cause regions to go offline and all
> sorts of other unexpected behavior.
> -Bryan
>
> On Apr 28, 2008, at 5:00 PM, David Alves wrote:
>
> > Hi
> >
> > My system is quite simple:
> > - two (one quad core, one dual core) servers with 2GB mem and 150 GB
> > allocated to dfs.
> > - I use it to crawl multiple supports but mainly filesystems and
> > save the results onto hbase (not too many files < 100.000 but rows
> > can get
> > easily to 30 MB each)
> >
> > I constantly getting NullPointerExceptions (on the client caused by
> > NotServingRegionExceptions on regionserver) when creating tables or
> > RegionOfflineExceptions when doing puts or sometimes just time outs.
> > When started with hbase I developed in 'local' mode, I then migrated
> > to a small dev 2 servers cluster (weaker than production is now)
> > where I
> > tested the functionality, and it worked fine but, my bad, due to
> > pressing
> > scheduling I didn't do any real load tests, so the system is now
> > continuously going under in production. I've only been able to do a
> > full
> > crawl by resetting the cluster to one node and putting it in
> > 'local' mode.
> >
> > My question is what can cause regions to be offline in
> > regionservers?
> >
> > I ask so that I can investigate the matter further but having a
> > starting point.
> >
> > I'm willing to help anyway I can but I would really appreciate any
> > help and/or starting point and tools for my investigation.
> >
> >
> > Best Regards
> > David Alves
> >
Re: Regions Offline
Posted by Bryan Duxbury <br...@rapleaf.com>.
For starters, what version of HBase/Hadoop are you using? There was a
pretty bad bug in 0.16 that would cause regions to go offline and all
sorts of other unexpected behavior.
-Bryan
On Apr 28, 2008, at 5:00 PM, David Alves wrote:
> Hi
>
> My system is quite simple:
> - two (one quad core, one dual core) servers with 2GB mem and 150 GB
> allocated to dfs.
> - I use it to crawl multiple supports but mainly filesystems and
> save the results onto hbase (not too many files < 100.000 but rows
> can get
> easily to 30 MB each)
>
> I constantly getting NullPointerExceptions (on the client caused by
> NotServingRegionExceptions on regionserver) when creating tables or
> RegionOfflineExceptions when doing puts or sometimes just time outs.
> When started with hbase I developed in 'local' mode, I then migrated
> to a small dev 2 servers cluster (weaker than production is now)
> where I
> tested the functionality, and it worked fine but, my bad, due to
> pressing
> scheduling I didn't do any real load tests, so the system is now
> continuously going under in production. I've only been able to do a
> full
> crawl by resetting the cluster to one node and putting it in
> 'local' mode.
>
> My question is what can cause regions to be offline in
> regionservers?
>
> I ask so that I can investigate the matter further but having a
> starting point.
>
> I'm willing to help anyway I can but I would really appreciate any
> help and/or starting point and tools for my investigation.
>
>
> Best Regards
> David Alves
>
Re: Regions Offline
Posted by stack <st...@duboce.net>.
David:
Attached is a hacked up tool that you can use to online your regions.
Put it into your hbase install at src/java/org/apache/hadoop/hbase.
Compile. Then you should be able to do something like "./bin/hbase
org.apache.hadoop.hbase.HBaseTool" to see a usage message. Pass the row
name and whether you want it 'on' or 'off'.
St.Ack
Regions Offline
Posted by David Alves <dr...@criticalsoftware.com>.
Hi
My system is quite simple:
- two (one quad core, one dual core) servers with 2GB mem and 150 GB
allocated to dfs.
- I use it to crawl multiple supports but mainly filesystems and
save the results onto hbase (not too many files < 100.000 but rows can get
easily to 30 MB each)
I constantly getting NullPointerExceptions (on the client caused by
NotServingRegionExceptions on regionserver) when creating tables or
RegionOfflineExceptions when doing puts or sometimes just time outs.
When started with hbase I developed in 'local' mode, I then migrated
to a small dev 2 servers cluster (weaker than production is now) where I
tested the functionality, and it worked fine but, my bad, due to pressing
scheduling I didn't do any real load tests, so the system is now
continuously going under in production. I've only been able to do a full
crawl by resetting the cluster to one node and putting it in 'local' mode.
My question is what can cause regions to be offline in
regionservers?
I ask so that I can investigate the matter further but having a
starting point.
I'm willing to help anyway I can but I would really appreciate any
help and/or starting point and tools for my investigation.
Best Regards
David Alves