You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by "Peter W." <pe...@marketingbrokers.com> on 2008/03/17 20:04:54 UTC

single node Hbase

Hello,

Are there any Hadoop documentation resources showing
how to run the current version of Hbase on a single node?

Thanks,

Peter W.

RE: single node Hbase

Posted by Jim Kellerman <ji...@powerset.com>.
Did you first create the table and then try to delete it?
In hbase-0.1.1 and older, offlining a table did not work reliably. There is a fix for this problem in the hbase-0.1.2 release candidate.

Also, if you direct hbase questions to the hbase mailing list hbase-user@hadoop.apache.org you will get a more timely response. See http://hadoop.apache.org/hbase/mailing_lists.html for how to subscribe.

---
Jim Kellerman, Senior Engineer; Powerset


> -----Original Message-----
> From: ahmed.shiraz.memon@gmail.com
> [mailto:ahmed.shiraz.memon@gmail.com] On Behalf Of Shiraz Memon
> Sent: Friday, May 09, 2008 2:38 AM
> To: core-user@hadoop.apache.org; mail@ykud.com
> Subject: Re: single node Hbase
>
> Hi
>
> I have installed and started hbase using getting started
> guide on
> http://hadoop.apache.org/hbase/docs/r0.1.1/api/overview-summar
y.html#overview_description.
> I successfully installed and started hbase server and
> furthermore I can perform basic operations on the table(s)
> via hbase-shell, but I am failed to access and create tables
> via java class (as mentioned in hbase starting guide).
>
> Here is the exception at client side:
>
> Exception in thread "main" java.lang.IllegalStateException:
> region offline:
> contact,,1209375004936
>     at
> org.apache.hadoop.hbase.HConnectionManager$TableServers.locate
RegionInMeta(HConnectionManager.java:438)
>     at
> org.apache.hadoop.hbase.HConnectionManager$TableServers.locate
Region(HConnectionManager.java:350)
>     at
> org.apache.hadoop.hbase.HConnectionManager$TableServers.locate
Region(HConnectionManager.java:313)
>     at org.apache.hadoop.hbase.HTable.<init>(HTable.java:91)
>     at de.fzj.unicore.hbase.HBasePersist.main(HBasePersist.java:23)
>
> I have considered the same class HBasePersist for trying this out.
>
> Thanks for any help.
> Shiraz
>
> On Wed, May 7, 2008 at 3:37 PM, Yuri Kudryavcev <ma...@ykud.com> wrote:
>
> > Try this one
> >
> >
> http://hadoop.apache.org/hbase/docs/r0.1.1/api/overview-summary.html#o
> > verview_description
> > - Yuri.
> >
> > On Wed, May 7, 2008 at 4:40 PM, Ahmed Shiraz Memon <
> > ahmed.shiraz.memon@gmail.com> wrote:
> >
> > > the link is not working...
> > > Shiraz
> > >
> > > On Mon, Mar 17, 2008 at 9:34 PM, stack <st...@duboce.net> wrote:
> > >
> > > > Try our 'getting started':
> > > > http://hadoop.apache.org/hbase/docs/current/api/index.html.
> > > > St.Ack
> > > >
> > > >
> > > >
> > > > Peter W. wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > Are there any Hadoop documentation resources showing
> how to run
> > > > > the current version of Hbase on a single node?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Peter W.
> > > > >
> > > >
> > > >
> > >
> >
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.10/1421 - Release
> Date: 5/7/2008 5:23 PM
>
>

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.10/1421 - Release Date: 5/7/2008 5:23 PM


RE: single node Hbase

Posted by Jim Kellerman <ji...@powerset.com>.
Did you first create the table and then try to delete it?
In hbase-0.1.1 and older, offlining a table did not work reliably. There is a fix for this problem in the hbase-0.1.2 release candidate.

Also, if you direct hbase questions to the hbase mailing list hbase-user@hadoop.apache.org you will get a more timely response. See http://hadoop.apache.org/hbase/mailing_lists.html for how to subscribe.

---
Jim Kellerman, Senior Engineer; Powerset


> -----Original Message-----
> From: ahmed.shiraz.memon@gmail.com
> [mailto:ahmed.shiraz.memon@gmail.com] On Behalf Of Shiraz Memon
> Sent: Friday, May 09, 2008 2:38 AM
> To: core-user@hadoop.apache.org; mail@ykud.com
> Subject: Re: single node Hbase
>
> Hi
>
> I have installed and started hbase using getting started
> guide on
> http://hadoop.apache.org/hbase/docs/r0.1.1/api/overview-summar
y.html#overview_description.
> I successfully installed and started hbase server and
> furthermore I can perform basic operations on the table(s)
> via hbase-shell, but I am failed to access and create tables
> via java class (as mentioned in hbase starting guide).
>
> Here is the exception at client side:
>
> Exception in thread "main" java.lang.IllegalStateException:
> region offline:
> contact,,1209375004936
>     at
> org.apache.hadoop.hbase.HConnectionManager$TableServers.locate
RegionInMeta(HConnectionManager.java:438)
>     at
> org.apache.hadoop.hbase.HConnectionManager$TableServers.locate
Region(HConnectionManager.java:350)
>     at
> org.apache.hadoop.hbase.HConnectionManager$TableServers.locate
Region(HConnectionManager.java:313)
>     at org.apache.hadoop.hbase.HTable.<init>(HTable.java:91)
>     at de.fzj.unicore.hbase.HBasePersist.main(HBasePersist.java:23)
>
> I have considered the same class HBasePersist for trying this out.
>
> Thanks for any help.
> Shiraz
>
> On Wed, May 7, 2008 at 3:37 PM, Yuri Kudryavcev <ma...@ykud.com> wrote:
>
> > Try this one
> >
> >
> http://hadoop.apache.org/hbase/docs/r0.1.1/api/overview-summary.html#o
> > verview_description
> > - Yuri.
> >
> > On Wed, May 7, 2008 at 4:40 PM, Ahmed Shiraz Memon <
> > ahmed.shiraz.memon@gmail.com> wrote:
> >
> > > the link is not working...
> > > Shiraz
> > >
> > > On Mon, Mar 17, 2008 at 9:34 PM, stack <st...@duboce.net> wrote:
> > >
> > > > Try our 'getting started':
> > > > http://hadoop.apache.org/hbase/docs/current/api/index.html.
> > > > St.Ack
> > > >
> > > >
> > > >
> > > > Peter W. wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > Are there any Hadoop documentation resources showing
> how to run
> > > > > the current version of Hbase on a single node?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Peter W.
> > > > >
> > > >
> > > >
> > >
> >
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.10/1421 - Release
> Date: 5/7/2008 5:23 PM
>
>

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.10/1421 - Release Date: 5/7/2008 5:23 PM


Re: single node Hbase

Posted by Shiraz Memon <a....@fz-juelich.de>.
Hi

I have installed and started hbase using getting started guide on
http://hadoop.apache.org/hbase/docs/r0.1.1/api/overview-summary.html#overview_description.
I successfully installed and started hbase server and furthermore I can
perform basic operations on the table(s) via hbase-shell, but I am failed to
access and create tables via java class (as mentioned in hbase starting
guide).

Here is the exception at client side:

Exception in thread "main" java.lang.IllegalStateException: region offline:
contact,,1209375004936
    at
org.apache.hadoop.hbase.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:438)
    at
org.apache.hadoop.hbase.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:350)
    at
org.apache.hadoop.hbase.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:313)
    at org.apache.hadoop.hbase.HTable.<init>(HTable.java:91)
    at de.fzj.unicore.hbase.HBasePersist.main(HBasePersist.java:23)

I have considered the same class HBasePersist for trying this out.

Thanks for any help.
Shiraz

On Wed, May 7, 2008 at 3:37 PM, Yuri Kudryavcev <ma...@ykud.com> wrote:

> Try this one
>
> http://hadoop.apache.org/hbase/docs/r0.1.1/api/overview-summary.html#overview_description
> - Yuri.
>
> On Wed, May 7, 2008 at 4:40 PM, Ahmed Shiraz Memon <
> ahmed.shiraz.memon@gmail.com> wrote:
>
> > the link is not working...
> > Shiraz
> >
> > On Mon, Mar 17, 2008 at 9:34 PM, stack <st...@duboce.net> wrote:
> >
> > > Try our 'getting started':
> > > http://hadoop.apache.org/hbase/docs/current/api/index.html.
> > > St.Ack
> > >
> > >
> > >
> > > Peter W. wrote:
> > >
> > > > Hello,
> > > >
> > > > Are there any Hadoop documentation resources showing
> > > > how to run the current version of Hbase on a single node?
> > > >
> > > > Thanks,
> > > >
> > > > Peter W.
> > > >
> > >
> > >
> >
>

Re: single node Hbase

Posted by Yuri Kudryavcev <ma...@ykud.com>.
Try this one
http://hadoop.apache.org/hbase/docs/r0.1.1/api/overview-summary.html#overview_description
- Yuri.

On Wed, May 7, 2008 at 4:40 PM, Ahmed Shiraz Memon <
ahmed.shiraz.memon@gmail.com> wrote:

> the link is not working...
> Shiraz
>
> On Mon, Mar 17, 2008 at 9:34 PM, stack <st...@duboce.net> wrote:
>
> > Try our 'getting started':
> > http://hadoop.apache.org/hbase/docs/current/api/index.html.
> > St.Ack
> >
> >
> >
> > Peter W. wrote:
> >
> > > Hello,
> > >
> > > Are there any Hadoop documentation resources showing
> > > how to run the current version of Hbase on a single node?
> > >
> > > Thanks,
> > >
> > > Peter W.
> > >
> >
> >
>

Re: single node Hbase

Posted by Ahmed Shiraz Memon <ah...@gmail.com>.
the link is not working...
Shiraz

On Mon, Mar 17, 2008 at 9:34 PM, stack <st...@duboce.net> wrote:

> Try our 'getting started':
> http://hadoop.apache.org/hbase/docs/current/api/index.html.
> St.Ack
>
>
>
> Peter W. wrote:
>
> > Hello,
> >
> > Are there any Hadoop documentation resources showing
> > how to run the current version of Hbase on a single node?
> >
> > Thanks,
> >
> > Peter W.
> >
>
>

Re: single node Hbase

Posted by stack <st...@duboce.net>.
Try our 'getting started': 
http://hadoop.apache.org/hbase/docs/current/api/index.html.
St.Ack


Peter W. wrote:
> Hello,
>
> Are there any Hadoop documentation resources showing
> how to run the current version of Hbase on a single node?
>
> Thanks,
>
> Peter W.