hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Rawson <ryano...@gmail.com>
Subject Re: Table broken: NoServerForRegionException
Date Tue, 09 Mar 2010 02:22:30 GMT
Try this in the shell:

flush '.META.'
// Wait about 20 seconds
major_compact '.META.'

what version of hbase are you running?

On Mon, Mar 8, 2010 at 6:21 PM, Yabo Xu <arber.research@gmail.com> wrote:
> Hi there:
>
> We have been using HBase for a while in our project, and once in a while we
> have encountered the "NoServerForRegionException" exception. Some region of
> a certain table seems to be broken, and a simple count  will throw the
> following exception.
>
> Any idea on how to fix the table, and also anybody knows where the exception
> might be from?
>
> We are rushing for a deadline, but are stucking on this issue now. So your
> help would be really appreciated!
>
> Arber
>
> ---------------------------
> NativeException: java.lang.RuntimeException: org.apache.hadoop.hbase.
> client.RetriesExhaustedException: Trying to contact region server null for
> region , row '1267733340|com.ifeng.finance/stock/ts/20100304/1887962.shtml|1|45',
> but failed after 5 attempts.
> Exceptions:
> org.apache.hadoop.hbase.client.NoServerForRegionException: No server address
> listed in .META. for
> regionSummba.RAFE.sentence,1267733340|com.ifeng.finance/stock/ts/20100304/1887962.shtml|1|45,1267781626626
> org.apache.hadoop.hbase.client.NoServerForRegionException: No server address
> listed in .META. for region
> Summba.RAFE.sentence,1267733340|com.ifeng.finance/stock/ts/20100304/1887962.shtml|1|45,1267781626626
> org.apache.hadoop.hbase.client.NoServerForRegionException: No server address
> listed in .META. for region
> Summba.RAFE.sentence,1267733340|com.ifeng.finance/stock/ts/20100304/1887962.shtml|1|45,1267781626626
> org.apache.hadoop.hbase.client.NoServerForRegionException: No server address
> listed in .META. for region
> Summba.RAFE.sentence,1267733340|com.ifeng.finance/stock/ts/20100304/1887962.shtml|1|45,1267781626626
> org.apache.hadoop.hbase.client.NoServerForRegionException: No server address
> listed in .META. for region
> Summba.RAFE.sentence,1267733340|com.ifeng.finance/stock/ts/20100304/1887962.shtml|1|45,1267781626626
>  from org/apache/hadoop/hbase/
>
> client/HTable.java:1716:in `hasNext'
>  from sun.reflect.GeneratedMethodAccessor3:-1:in `invoke'
>  from sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke'
>  from java/lang/reflect/Method.java:597:in `invoke'
>  from org/jruby/javasupport/JavaMethod.java:298:in
> `invokeWithExceptionHandling'
>  from org/jruby/javasupport/JavaMethod.java:259:in `invoke'
>  from org/jruby/java/invokers/InstanceMethodInvoker.java:36:in `call'
>  from org/jruby/runtime/callsite/CachingCallSite.java:73:in `call'
>  from org/jruby/ast/CallNoArgNode.java:61:in `interpret'
>  from org/jruby/ast/WhileNode.java:124:in `interpret'
>  from org/jruby/ast/NewlineNode.java:101:in `interpret'
>  from org/jruby/ast/BlockNode.java:68:in `interpret'
>  from org/jruby/internal/runtime/methods/DefaultMethod.java:156:in
> `interpretedCall'
>  from org/jruby/internal/runtime/methods/DefaultMethod.java:133:in `call'
>  from org/jruby/internal/runtime/methods/DefaultMethod.java:246:in `call'
>  from org/jruby/runtime/callsite/CachingCallSite.java:114:in `call'
> ... 107 levels...
>

Mime
View raw message