You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Debarshi Bhattacharya <de...@gmail.com> on 2012/07/23 11:52:33 UTC

Re: Install hbase on Ubuntu 11.10

I am getting the same type of error while installing HBASE. In have Apache
Hadoop 0.20.2 installed in my system(ubuntu 11.10). Hbase is getting installed,
but when I try to create a table I am getting the following error :-


THE COMPLETE STACKTRACE :


ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after
attempts=7, exceptions:
Mon Jul 23 11:44:12 IST 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
for test,,00000000000000 after 7 tries.
Mon Jul 23 11:51:13 IST 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
for test,,00000000000000 after 7 tries.
Mon Jul 23 11:58:14 IST 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
for test,,00000000000000 after 7 tries.
Mon Jul 23 12:05:15 IST 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
for test,,00000000000000 after 7 tries.
Mon Jul 23 12:12:17 IST 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
for test,,00000000000000 after 7 tries.
Mon Jul 23 12:19:19 IST 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
for test,,00000000000000 after 7 tries.
Mon Jul 23 12:26:23 IST 2012,
org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
for test,,00000000000000 after 7 tries.

Here is some help for this command:
Create table; pass table name, a dictionary of specifications per
column family, and optionally a dictionary of table configuration.
Dictionaries are described below in the GENERAL NOTES section.
Examples:

  hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
  hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
  hbase> # The above in shorthand would be the following:
  hbase> create 't1', 'f1', 'f2', 'f3'
  hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, BLOCKCACHE
=> true}
  hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}
  hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}


hbase(main):002:0>






Re: Install hbase on Ubuntu 11.10

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Debarshi,

You can use JPS to list the java deamons running on your different machines.

You should see at least those one:
3420 QuorumPeerMain
2564 TaskTracker
2252 NameNode
2456 DataNode
2360 JobTracker
2703 HMaster
2815 HRegionServer

The number is  the process number so will change each time you start
the application. And all those process can be on different machines,
not necessary the same one.

If you have all those process running, then you should take a look at
the logs files.

JM

2012/7/23, Mohammad Tariq <do...@gmail.com>:
> Just make sure all the daemon processes are running. Your logs show
> there is some problem with your regionserver and it is not reachable.
>
> Regards,
>     Mohammad Tariq
>
>
> On Mon, Jul 23, 2012 at 3:22 PM, Debarshi Bhattacharya
> <de...@gmail.com> wrote:
>> I am getting the same type of error while installing HBASE. In have
>> Apache
>> Hadoop 0.20.2 installed in my system(ubuntu 11.10). Hbase is getting
>> installed,
>> but when I try to create a table I am getting the following error :-
>>
>>
>> THE COMPLETE STACKTRACE :
>>
>>
>> ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed
>> after
>> attempts=7, exceptions:
>> Mon Jul 23 11:44:12 IST 2012,
>> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
>> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
>> region
>> for test,,00000000000000 after 7 tries.
>> Mon Jul 23 11:51:13 IST 2012,
>> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
>> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
>> region
>> for test,,00000000000000 after 7 tries.
>> Mon Jul 23 11:58:14 IST 2012,
>> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
>> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
>> region
>> for test,,00000000000000 after 7 tries.
>> Mon Jul 23 12:05:15 IST 2012,
>> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
>> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
>> region
>> for test,,00000000000000 after 7 tries.
>> Mon Jul 23 12:12:17 IST 2012,
>> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
>> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
>> region
>> for test,,00000000000000 after 7 tries.
>> Mon Jul 23 12:19:19 IST 2012,
>> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
>> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
>> region
>> for test,,00000000000000 after 7 tries.
>> Mon Jul 23 12:26:23 IST 2012,
>> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
>> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
>> region
>> for test,,00000000000000 after 7 tries.
>>
>> Here is some help for this command:
>> Create table; pass table name, a dictionary of specifications per
>> column family, and optionally a dictionary of table configuration.
>> Dictionaries are described below in the GENERAL NOTES section.
>> Examples:
>>
>>   hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
>>   hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
>>   hbase> # The above in shorthand would be the following:
>>   hbase> create 't1', 'f1', 'f2', 'f3'
>>   hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000,
>> BLOCKCACHE
>> => true}
>>   hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}
>>   hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}
>>
>>
>> hbase(main):002:0>
>>
>>
>>
>>
>>
>

Re: Install hbase on Ubuntu 11.10

Posted by Mohammad Tariq <do...@gmail.com>.
Just make sure all the daemon processes are running. Your logs show
there is some problem with your regionserver and it is not reachable.

Regards,
    Mohammad Tariq


On Mon, Jul 23, 2012 at 3:22 PM, Debarshi Bhattacharya
<de...@gmail.com> wrote:
> I am getting the same type of error while installing HBASE. In have Apache
> Hadoop 0.20.2 installed in my system(ubuntu 11.10). Hbase is getting installed,
> but when I try to create a table I am getting the following error :-
>
>
> THE COMPLETE STACKTRACE :
>
>
> ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after
> attempts=7, exceptions:
> Mon Jul 23 11:44:12 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 11:51:13 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 11:58:14 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 12:05:15 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 12:12:17 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 12:19:19 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 12:26:23 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region
> for test,,00000000000000 after 7 tries.
>
> Here is some help for this command:
> Create table; pass table name, a dictionary of specifications per
> column family, and optionally a dictionary of table configuration.
> Dictionaries are described below in the GENERAL NOTES section.
> Examples:
>
>   hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
>   hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
>   hbase> # The above in shorthand would be the following:
>   hbase> create 't1', 'f1', 'f2', 'f3'
>   hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, BLOCKCACHE
> => true}
>   hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}
>   hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}
>
>
> hbase(main):002:0>
>
>
>
>
>

Re: Install hbase on Ubuntu 11.10

Posted by iwannaplay games <fu...@gmail.com>.
Hi,
Please make sure u follow all this written over here

http://biforbeginners.blogspot.in/2012/07/step-by-step-installation-of-hadoop-on.html

for ubuntu u can refer michael noll's set up

http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-node-cluster/

Regards
Prabhjot

On 7/23/12, Debarshi Bhattacharya <de...@gmail.com> wrote:
> I am getting the same type of error while installing HBASE. In have Apache
> Hadoop 0.20.2 installed in my system(ubuntu 11.10). Hbase is getting
> installed,
> but when I try to create a table I am getting the following error :-
>
>
> THE COMPLETE STACKTRACE :
>
>
> ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed
> after
> attempts=7, exceptions:
> Mon Jul 23 11:44:12 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 11:51:13 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 11:58:14 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 12:05:15 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 12:12:17 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 12:19:19 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region
> for test,,00000000000000 after 7 tries.
> Mon Jul 23 12:26:23 IST 2012,
> org.apache.hadoop.hbase.client.ScannerCallable@1d3e069,
> org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find
> region
> for test,,00000000000000 after 7 tries.
>
> Here is some help for this command:
> Create table; pass table name, a dictionary of specifications per
> column family, and optionally a dictionary of table configuration.
> Dictionaries are described below in the GENERAL NOTES section.
> Examples:
>
>   hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
>   hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
>   hbase> # The above in shorthand would be the following:
>   hbase> create 't1', 'f1', 'f2', 'f3'
>   hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000,
> BLOCKCACHE
> => true}
>   hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']}
>   hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'}
>
>
> hbase(main):002:0>
>
>
>
>
>
>