Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> connecting Hbase using java


Copy link to this message
-
Re: connecting Hbase using java
have you added the required jars?also, it's better to add zookeeper related
props in the config file.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com
On Sat, Mar 30, 2013 at 8:19 PM, Ted Yu <[EMAIL PROTECTED]> wrote:

> What packages were not accessible ?
>
> Most people use Eclipse for development. Take a look at 15.2.1.5 in
> http://hbase.apache.org/book.html#developing
>
>
> On Sat, Mar 30, 2013 at 7:02 AM, Alok Singh Mahor <[EMAIL PROTECTED]
> >wrote:
>
> > Hi all,
> > I have set up Hbase in pseudo distributed mode.
> > I am using hadoop-1.1.2  hbase-0.94.6 and setup files are in Home
> > directory.
> >
> > content of ~/hbase-0.94.6/conf/hbase-site.xml is
> >
> > <configuration>
> > <property>
> >         <name>hbase.cluster.distributed</name>
> >         <value>true</value>
> > </property>
> > <property>
> >     <name>hbase.rootdir</name>
> >     <value>hdfs://localhost:9000/hbase</value>
> >   </property>
> > <property>
> >         <name>dfs.replication</name>
> >         <value>1</value>
> >         <description>The replication count for HLog and HFile storage.
> > Should not be greater than HDFS datanode count.
> >         </description>
> >     </property>
> > </configuration>
> >
> > and I am able to create tables using hbase shell from its prompt.
> > but I want to create table and load data programatically using java.
> >
> > I tried to follow
> >
> >
> http://autofei.wordpress.com/2012/04/02/java-example-code-using-hbase-data-model-operations/
> >
> > without eclipse but I am getting error that packages does not exist.
> >
> > could any one give me clean and simple steps to load data in Hbase
> > programatically using java.
> >
> > thanks in advance
> >
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB