hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mukund murrali <mukundmurra...@gmail.com>
Subject Re: FAILED_OPEN hbase:namespace issue on RS with 1.1.2: Need table descriptor
Date Fri, 11 Sep 2015 05:17:52 GMT
Check the hbase-site.xml in the regionserver hosting the namespace. See if
there is anything wrong in hbase.rootdir.

Thanks

On Fri, Sep 11, 2015 at 9:51 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> From the snippet you posted, it is hard to tell whether DEBUG logging was
> turned on.
>
> If not, please turn on DEBUG logging and try to reproduce.
>
> Pastebinning hbase-site.xml would also help give us some clue.
>
> Cheers
>
> On Thu, Sep 10, 2015 at 9:10 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>
> > htd is obtained in RSRpcServices#openRegion():
> >
> >         htd = htds.get(region.getTable());
> >
> >         if (htd == null) {
> >
> >           htd = regionServer.tableDescriptors.get(region.getTable());
> >
> >           htds.put(region.getTable(), htd);
> >
> >         }
> >
> > Can you pastebin more of the region server log prior to 03:36:21,111 ?
> >
> > Did you upgrade from previous release or was this a clean start ?
> >
> > Cheers
> >
> > On Thu, Sep 10, 2015 at 8:56 PM, Emmanuel <eleroy@msn.com> wrote:
> >
> >> I am having an issue with HBase 1.1.2 setup
> >> I run on ZK server 3.5.0 alpha
> >> When I start Hbase region server and it joins the master, the hbase:meta
> >> table is created, but on trying to open the hbase:namespace table it
> fails
> >> I get
> >> 2015-09-11 03:36:21,111 INFO
> >> [PriorityRpcServer.handler=1,queue=1,port=16200]
> >> regionserver.RSRpcServices: Open
> >>
> hbase:namespace,,1441941622653.4c73fa60675e16e6f4e08b4bc08c1139.2015-09-11
> >> 03:36:21,122 ERROR [RS_OPEN_REGION-hbase-rs-9olhj:16200-0]
> >> handler.OpenRegionHandler: Failed open of
> >> region=hbase:namespace,,1441941622653.4c73fa60675e16e6f4e08b4bc08c1139.,
> >> starting to roll back the global memstore size.
> >> java.lang.IllegalStateException: Could not instantiate a region
> instance.
> >>         at
> >>
> org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:5880)
> >>         at
> >>
> org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6187)
> >>         at
> >>
> org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6159)
> >>         at
> >>
> org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6115)
> >>         at
> >>
> org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6066)
> >>         at
> >>
> org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:362)
> >>         at
> >>
> org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:129)
> >>         at
> >> org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128)
> >>         at
> >>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >>         at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> >>         at java.lang.Thread.run(Thread.java:745)
> >> Caused by: java.lang.reflect.InvocationTargetException
> >>         at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown
> >> Source)
> >>         at
> >>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> >>         at
> >>
> org.apache.hadoop.hbase.regionserver.HRegion.newHRegion(HRegion.java:5877)
> >>         ... 10 more
> >> Caused by: java.lang.IllegalArgumentException: Need table descriptor
> >>         at
> >> org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:643)
> >>         at
> >> org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:620)
> >>         ... 14 more
> >> 2015-09-11 03:36:21,124 INFO  [RS_OPEN_REGION-hbase-rs-9olhj:16200-0]
> >> coordination.ZkOpenRegionCoordination: Opening of region {ENCODED =>
> >> 4c73fa60675e16e6f4e08b4bc08c1139, NAME =>
> >> 'hbase:namespace,,1441941622653.4c73fa60675e16e6f4e08b4bc08c1139.',
> >> STARTKEY => '', ENDKEY => ''} failed, transitioning from OPENING to
> >> FAILED_OPEN in ZK, expecting version 118
> >> In the region server logsand the Master stays stuck on Region in
> >> Transition.I tried restarting from scratch several times removing the
> hbase
> >> root folder in ZK and starting over but that doesn't help.I start the
> >> Master and the RegionServer manually with the hbase-daemon.sh script (1
> >> master, 1 region server, on 2 separate nodes) I run in Docker container
> and
> >> have set IPs /hostnames in the hosts file so they can talk to each
> other.
> >> Any suggestions?
> >> Thanks for help
> >>
> >>
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message