hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdh <tianqiu_...@yahoo.com.cn>
Subject Re: how to use hbase with eclipse?
Date Wed, 21 Oct 2009 06:06:38 GMT

The hbase worked well during that time. I read the logs and found where the
problem was .Now it was fixed. Thanks a lot!

Tatsuya Kawano-3 wrote:
> 
> Hi,
> 
> What do you mean nothing happened? Did your program finish running
> without error but no record inserted to the table? Or did it get
> stalled when it try to connect to HBase?
> 
> If you're having the latter case, let your program to run for a few
> minutes and you'll eventually see some error messages. Make sure you
> didn't leave the table disabled; it will cause your program to pause
> for a few minutes (but you will get RegionOfflineException after a few
> minutes.)
> 
> Thanks,
> 
> -- 
> Tatsuya Kawano (Mr.)
> Tokyo, Japan
> 
> 
> 
> 
> On Tue, Oct 20, 2009 at 12:13 PM, jdh <tianqiu_527@yahoo.com.cn> 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--tp25969117p25986964.html
Sent from the HBase User mailing list archive at Nabble.com.


Mime
View raw message