hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From N Keywal <nkey...@gmail.com>
Subject RE: Java Programming and Hbase
Date Mon, 12 Mar 2012 11:46:09 GMT
You will need the hadoop jar for this. Hbase uses hadoop for common stuff
like the configuration you've seen, so even a simple client needs it.

N.
Le 12 mars 2012 12:06, "Mahdi Negahi" <negahi.mahdi@hotmail.com> a écrit :

>
> Is it necessary to install hadoop for hbase, if  want use Hbase in my
> laptop and use it via Java ?????
>
> > Date: Mon, 12 Mar 2012 10:43:44 +0100
> > Subject: Re: Java Programming and Hbase
> > From: khiemu@googlemail.com
> > To: user@hbase.apache.org
> >
> > you also need to import hadoop.jar, since hbase runs on hahoop
> >
> >
> >
> > On Mon, Mar 12, 2012 at 9:45 AM, Mahdi Negahi <negahi.mahdi@hotmail.com
> >wrote:
> >
> > >
> > > Dear Friends
> > >
> > >
> > > I try to write a simple application with Java and manipulate my Hbase
> > > table. so I read this post and try to follow it.
> > >
> > > http://hbase.apache.org/docs/current/api/index.html
> > >
> > > I use eclipse and add hbase-092.0.jar as external jar file for my
> project.
> > > but i have problem in the first line of guideline. the following code
> line
> > > Configuration config = HBaseConfiguration.create();
> > >
> > > has a following error
> > >
> > > The type org.apache.hadoop.conf.Configuration cannot be resolved. It is
> > > indirectly referenced from required .class files
> > >
> > > and Configuration's package that eclipse want to add to my project is
> > >
> > > import javax.security.auth.login.Configuration;
> > >
> > > i think it is not an appropriate package.
> > >
> > > please advice me and refer me to new guideline.
> > >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message