hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doss_IPH <d...@intellipowerhive.com>
Subject Re: how to use hbase with eclipse?
Date Wed, 21 Oct 2009 10:27:12 GMT

Hi,
If you are using hbase 0.20 version, you need to use hadoop 0.20.x.

You can find sample sources on this URL:

http://intellipowerhive.com/IPH-HBase.zip Download  



jdh wrote:
> 
> Hi,
> I just install hbase 0.20 with pseduo-distributed style according to the
> hbase wiki. Then I wrote a java program in eclipse. There was no compile
> error. but there was nothing happened when I ran the program although I
> tried to put and get some row in the program.
> Hadoop-*-core.jar and hbase-*-.jar was added into eclipse.
> here is the eclipse console content after running the program.
> Could you give me some advice?
> thanks!
> 
> 
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:zookeeper.version=3.2.1-808558, built on 08/27/2009 18:48 GMT
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:host.name=ubuntu.ubuntu-domain
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:java.version=1.6.0_16
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:java.vendor=Sun Microsystems Inc.
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.16/jre
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:java.class.path=/home/hi/workspace/hbaseclient/bin:/home/hi/hadoop/hbase/hbase-0.20.0.jar:/home/hi/hadoop/hadoop/hadoop-0.20.1-core.jar:/home/hi/hadoop/hadoop/lib/commons-logging-api-1.0.4.jar:/home/hi/hadoop/hbase/conf:/home/hi/hadoop/zookeeper/zookeeper-3.2.1.jar:/home/hi/hadoop/hbase/lib/commons-logging-1.0.4.jar:/home/hi/hadoop/hbase/lib/log4j-1.2.15.jar
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/../lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386:/usr/lib/mozilla:/usr/lib/mozilla:/usr/java/packages/lib/i386:/lib:/usr/lib
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:java.io.tmpdir=/tmp
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:java.compiler=<NA>
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:os.name=Linux
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:os.arch=i386
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:os.version=2.6.28-11-generic
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:user.name=hi
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:user.home=/home/hi
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Client
> environment:user.dir=/home/hi/workspace/hbaseclient
> 09/10/20 10:40:05 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=localhost:2181 sessionTimeout=60000
> watcher=org.apache.hadoop.hbase.client.HConnectionManager$ClientZKWatcher@157fb52
> 09/10/20 10:40:05 INFO zookeeper.ClientCnxn:
> zookeeper.disableAutoWatchReset is false
> 09/10/20 10:40:05 INFO zookeeper.ClientCnxn: Attempting connection to
> server localhost/0:0:0:0:0:0:0:1:2181
> 09/10/20 10:40:05 INFO zookeeper.ClientCnxn: Priming connection to
> java.nio.channels.SocketChannel[connected local=/0:0:0:0:0:0:0:1:35430
> remote=localhost/0:0:0:0:0:0:0:1:2181]
> 09/10/20 10:40:05 INFO zookeeper.ClientCnxn: Server connection successful
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-use-hbase--with-eclipse--tp25969117p25989958.html
Sent from the HBase User mailing list archive at Nabble.com.


Mime
View raw message