You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by "Invisible.Trust" <in...@gmail.com> on 2012/01/21 07:25:52 UTC

Hbase 0.90.5 and Hadoop 1.0.0 beta working?

Hi, i have Debian 6.03 and problem with best friends hbase and hadoop
step by step, I want working configuration hbase (standalone for the 
first step) and hadoop :

wget http://www.sai.msu.su/apache//hbase/hbase-0.90.5/hbase-0.90.5.tar.gz
tar xzfv hbase-0.90.5.tar.gz
sudo mv hbase-0.90.5 /usr/local/
sudo ln -s hbase-0.90.5/ hbase
sudo chown -R hduser:hadoop hbase*
lrwxrwxrwx  1 hduser hadoop   13 Янв 21 10:11 hbase -> hbase-0.90.5/
drwxr-xr-x  8 hduser hadoop 4096 Янв 21 10:11 hbase-0.90.5
dan@master:/usr/local/hbase$ su hduser
hduser@master:/usr/local/hbase$ bin/start-hbase.sh
starting master, logging to 
/usr/local/hbase/bin/../logs/hbase-hduser-master-master.out
hduser@master:/usr/local/hbase$ bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.90.5, r1212209, Fri Dec  9 05:40:36 UTC 2011

hbase(main):001:0> list
TABLE
0 row(s) in 0.8560 seconds

But, after unpack hadoop core v 1.0 in hbase lib/ folder - I got:

hduser@master:/usr/local/hbase$ bin/stop-hbase.sh
hduser@master:/usr/local/hbase$ cp ../hadoop/hadoop-core-1.0.0.jar lib/
hduser@master:/usr/local/hbase$ rm lib/hadoop-core-0.20-append-r1056497.jar
hduser@master:/usr/local/hbase$ bin/start-hbase.sh
starting master, logging to 
/usr/local/hbase/bin/../logs/hbase-hduser-master-master.out

hduser@master:/usr/local/hbase$ bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.90.5, r1212209, Fri Dec  9 05:40:36 UTC 2011

hbase(main):001:0> list
TABLE

ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is 
able to connect to ZooKeeper but the connection closes immediately. This 
could be a sign that the server has too many connections (30 is the 
default). Consider inspecting your ZK server logs for that error and 
then make sure you are reusing HBaseConfiguration as often as you can. 
See HTable's javadoc for more information.

Why I need zookeeper on standalone after replace hadoop-core*.jar?
how to fix it?


Re: Hbase 0.90.5 and Hadoop 1.0.0 beta working?

Posted by praveenesh kumar <pr...@gmail.com>.
Try adding Zookeeper jar, hbase jar and hbase conf folder in hadoop
classpath

Thanks,
Praveenesh

On Sun, Jan 22, 2012 at 6:44 PM, Invisible.Trust
<in...@gmail.com>wrote:

>
>  On Fri, Jan 20, 2012 at 10:25 PM, Invisible.Trust<invisible.**
>> trust@gmail.com <in...@gmail.com>
>>
>>> wrote:
>>> Hi, i have Debian 6.03 and problem with best friends hbase and hadoop
>>> step by step, I want working configuration hbase (standalone for the
>>> first
>>> step) and hadoop :
>>>
>>> wget http://www.sai.msu.su/apache//****hbase/hbase-0.90.5/hbase-0.**
>>> 90.** <http://www.sai.msu.su/apache//**hbase/hbase-0.90.5/hbase-0.90.**>
>>> 5.tar.gz<http://www.sai.msu.**su/apache//hbase/hbase-0.90.5/**
>>> hbase-0.90.5.tar.gz<http://www.sai.msu.su/apache//hbase/hbase-0.90.5/hbase-0.90.5.tar.gz>
>>> >
>>> tar xzfv hbase-0.90.5.tar.gz
>>> sudo mv hbase-0.90.5 /usr/local/
>>> sudo ln -s hbase-0.90.5/ hbase
>>> sudo chown -R hduser:hadoop hbase*
>>> lrwxrwxrwx  1 hduser hadoop   13 Янв 21 10:11 hbase ->  hbase-0.90.5/
>>> drwxr-xr-x  8 hduser hadoop 4096 Янв 21 10:11 hbase-0.90.5
>>> dan@master:/usr/local/hbase$ su hduser
>>> hduser@master:/usr/local/****hbase$ bin/start-hbase.sh
>>> starting master, logging to /usr/local/hbase/bin/../logs/****
>>> hbase-hduser-master-master.out
>>> hduser@master:/usr/local/****hbase$ bin/hbase shell
>>> HBase Shell; enter 'help<RETURN>' for list of supported commands.
>>> Type "exit<RETURN>" to leave the HBase Shell
>>> Version 0.90.5, r1212209, Fri Dec  9 05:40:36 UTC 2011
>>>
>>> hbase(main):001:0>  list
>>> TABLE
>>> 0 row(s) in 0.8560 seconds
>>>
>>> But, after unpack hadoop core v 1.0 in hbase lib/ folder - I got:
>>>
>>> hduser@master:/usr/local/****hbase$ bin/stop-hbase.sh
>>> hduser@master:/usr/local/****hbase$ cp ../hadoop/hadoop-core-1.0.0.****
>>> jar
>>> lib/
>>> hduser@master:/usr/local/****hbase$ rm lib/hadoop-core-0.20-append-**
>>> r1056497.jar
>>> hduser@master:/usr/local/****hbase$ bin/start-hbase.sh
>>> starting master, logging to /usr/local/hbase/bin/../logs/****
>>> hbase-hduser-master-master.out
>>>
>>> hduser@master:/usr/local/****hbase$ bin/hbase shell
>>> HBase Shell; enter 'help<RETURN>' for list of supported commands.
>>> Type "exit<RETURN>" to leave the HBase Shell
>>> Version 0.90.5, r1212209, Fri Dec  9 05:40:36 UTC 2011
>>>
>>> hbase(main):001:0>  list
>>> TABLE
>>>
>>> ERROR: org.apache.hadoop.hbase.****ZooKeeperConnectionException: HBase
>>> is
>>> able to connect to ZooKeeper but the connection closes immediately. This
>>> could be a sign that the server has too many connections (30 is the
>>> default). Consider inspecting your ZK server logs for that error and then
>>> make sure you are reusing HBaseConfiguration as often as you can. See
>>> HTable's javadoc for more information.
>>>
>>> Why I need zookeeper on standalone after replace hadoop-core*.jar?
>>> how to fix it?
>>>
>>>
>> You do not seem to be doing anything wrong, not that I see.
>>
>> Anything in logs?  For sure the original hbase instance is down before you
>> start the second time?
>>
>> St.Ack
>>
>>
> Yeah, I'm sure.
> You can try it - after fresh setup of hadoop/hbase.
>
> Also, I copied all hadoop-* to hbase/lib
> with no luck.
>
> *.out files is empty
>
>

Re: Hbase 0.90.5 and Hadoop 1.0.0 beta working?

Posted by "Invisible.Trust" <in...@gmail.com>.
> On Fri, Jan 20, 2012 at 10:25 PM, Invisible.Trust<invisible.trust@gmail.com
>> wrote:
>> Hi, i have Debian 6.03 and problem with best friends hbase and hadoop
>> step by step, I want working configuration hbase (standalone for the first
>> step) and hadoop :
>>
>> wget http://www.sai.msu.su/apache//**hbase/hbase-0.90.5/hbase-0.90.**
>> 5.tar.gz<http://www.sai.msu.su/apache//hbase/hbase-0.90.5/hbase-0.90.5.tar.gz>
>> tar xzfv hbase-0.90.5.tar.gz
>> sudo mv hbase-0.90.5 /usr/local/
>> sudo ln -s hbase-0.90.5/ hbase
>> sudo chown -R hduser:hadoop hbase*
>> lrwxrwxrwx  1 hduser hadoop   13 Янв 21 10:11 hbase ->  hbase-0.90.5/
>> drwxr-xr-x  8 hduser hadoop 4096 Янв 21 10:11 hbase-0.90.5
>> dan@master:/usr/local/hbase$ su hduser
>> hduser@master:/usr/local/**hbase$ bin/start-hbase.sh
>> starting master, logging to /usr/local/hbase/bin/../logs/**
>> hbase-hduser-master-master.out
>> hduser@master:/usr/local/**hbase$ bin/hbase shell
>> HBase Shell; enter 'help<RETURN>' for list of supported commands.
>> Type "exit<RETURN>" to leave the HBase Shell
>> Version 0.90.5, r1212209, Fri Dec  9 05:40:36 UTC 2011
>>
>> hbase(main):001:0>  list
>> TABLE
>> 0 row(s) in 0.8560 seconds
>>
>> But, after unpack hadoop core v 1.0 in hbase lib/ folder - I got:
>>
>> hduser@master:/usr/local/**hbase$ bin/stop-hbase.sh
>> hduser@master:/usr/local/**hbase$ cp ../hadoop/hadoop-core-1.0.0.**jar
>> lib/
>> hduser@master:/usr/local/**hbase$ rm lib/hadoop-core-0.20-append-**
>> r1056497.jar
>> hduser@master:/usr/local/**hbase$ bin/start-hbase.sh
>> starting master, logging to /usr/local/hbase/bin/../logs/**
>> hbase-hduser-master-master.out
>>
>> hduser@master:/usr/local/**hbase$ bin/hbase shell
>> HBase Shell; enter 'help<RETURN>' for list of supported commands.
>> Type "exit<RETURN>" to leave the HBase Shell
>> Version 0.90.5, r1212209, Fri Dec  9 05:40:36 UTC 2011
>>
>> hbase(main):001:0>  list
>> TABLE
>>
>> ERROR: org.apache.hadoop.hbase.**ZooKeeperConnectionException: HBase is
>> able to connect to ZooKeeper but the connection closes immediately. This
>> could be a sign that the server has too many connections (30 is the
>> default). Consider inspecting your ZK server logs for that error and then
>> make sure you are reusing HBaseConfiguration as often as you can. See
>> HTable's javadoc for more information.
>>
>> Why I need zookeeper on standalone after replace hadoop-core*.jar?
>> how to fix it?
>>
>
> You do not seem to be doing anything wrong, not that I see.
>
> Anything in logs?  For sure the original hbase instance is down before you
> start the second time?
>
> St.Ack
>

Yeah, I'm sure.
You can try it - after fresh setup of hadoop/hbase.

Also, I copied all hadoop-* to hbase/lib
with no luck.

*.out files is empty


Re: Hbase 0.90.5 and Hadoop 1.0.0 beta working?

Posted by Stack <st...@duboce.net>.
On Fri, Jan 20, 2012 at 10:25 PM, Invisible.Trust <invisible.trust@gmail.com
> wrote:

> Hi, i have Debian 6.03 and problem with best friends hbase and hadoop
> step by step, I want working configuration hbase (standalone for the first
> step) and hadoop :
>
> wget http://www.sai.msu.su/apache//**hbase/hbase-0.90.5/hbase-0.90.**
> 5.tar.gz<http://www.sai.msu.su/apache//hbase/hbase-0.90.5/hbase-0.90.5.tar.gz>
> tar xzfv hbase-0.90.5.tar.gz
> sudo mv hbase-0.90.5 /usr/local/
> sudo ln -s hbase-0.90.5/ hbase
> sudo chown -R hduser:hadoop hbase*
> lrwxrwxrwx  1 hduser hadoop   13 Янв 21 10:11 hbase -> hbase-0.90.5/
> drwxr-xr-x  8 hduser hadoop 4096 Янв 21 10:11 hbase-0.90.5
> dan@master:/usr/local/hbase$ su hduser
> hduser@master:/usr/local/**hbase$ bin/start-hbase.sh
> starting master, logging to /usr/local/hbase/bin/../logs/**
> hbase-hduser-master-master.out
> hduser@master:/usr/local/**hbase$ bin/hbase shell
> HBase Shell; enter 'help<RETURN>' for list of supported commands.
> Type "exit<RETURN>" to leave the HBase Shell
> Version 0.90.5, r1212209, Fri Dec  9 05:40:36 UTC 2011
>
> hbase(main):001:0> list
> TABLE
> 0 row(s) in 0.8560 seconds
>
> But, after unpack hadoop core v 1.0 in hbase lib/ folder - I got:
>
> hduser@master:/usr/local/**hbase$ bin/stop-hbase.sh
> hduser@master:/usr/local/**hbase$ cp ../hadoop/hadoop-core-1.0.0.**jar
> lib/
> hduser@master:/usr/local/**hbase$ rm lib/hadoop-core-0.20-append-**
> r1056497.jar
> hduser@master:/usr/local/**hbase$ bin/start-hbase.sh
> starting master, logging to /usr/local/hbase/bin/../logs/**
> hbase-hduser-master-master.out
>
> hduser@master:/usr/local/**hbase$ bin/hbase shell
> HBase Shell; enter 'help<RETURN>' for list of supported commands.
> Type "exit<RETURN>" to leave the HBase Shell
> Version 0.90.5, r1212209, Fri Dec  9 05:40:36 UTC 2011
>
> hbase(main):001:0> list
> TABLE
>
> ERROR: org.apache.hadoop.hbase.**ZooKeeperConnectionException: HBase is
> able to connect to ZooKeeper but the connection closes immediately. This
> could be a sign that the server has too many connections (30 is the
> default). Consider inspecting your ZK server logs for that error and then
> make sure you are reusing HBaseConfiguration as often as you can. See
> HTable's javadoc for more information.
>
> Why I need zookeeper on standalone after replace hadoop-core*.jar?
> how to fix it?
>


You do not seem to be doing anything wrong, not that I see.

Anything in logs?  For sure the original hbase instance is down before you
start the second time?

St.Ack