hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Tariq <donta...@gmail.com>
Subject Re: Unable to start regionserver in distributed mode
Date Thu, 28 Mar 2013 18:25:13 GMT
also make sure that you have proper name resolution as it is vital for a
healthy Hbase operation. Sometimes even after configuring everything
perfectly Hbase refuses to work as intended just because of improper name
resolution. Add the actual host name along with their IPs in the /etc/hosts
file.

Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com


On Thu, Mar 28, 2013 at 11:04 PM, Leonid Fedotov
<lfedotov@hortonworks.com>wrote:

> Make sure you use hosts names, not "localhost" as name in the hadoop and
> base configurations.
>
>
> Thank you!
>
> Sincerely,
> Leonid Fedotov
> On Mar 28, 2013, at 8:30 AM, anand nalya wrote:
>
> > Hi,
> >
> > I'm trying to run HBase in distrbuted mode with 2 region servers, but
> when
> > starting it, I'm getting the following error:
> >
> > starting master, logging to
> >
> /home/centos/opt/hbase-0.94.5/bin/../logs/hbase-centos-master-IMPETUS-DSRV01.IMPETUS.CO.IN.out
> > 192.168.145.191: starting regionserver, logging to
> >
> /home/centos/opt/hbase-0.94.5/bin/../logs/hbase-centos-regionserver-IMPETUS-DSRV01.IMPETUS.CO.IN.out
> > 192.168.145.183: starting regionserver, logging to
> >
> /home/centos/opt/hbase-0.94.5/bin/../logs/hbase-centos-regionserver-IMPETUS-DSRV02.IMPETUS.CO.IN.out
> > 192.168.145.191: Exception in thread "main" java.lang.RuntimeException:
> > Failed suppression of fs shutdown hook: Thread[Thread-5,5,main]
> > 192.168.145.191:     at
> >
> org.apache.hadoop.hbase.regionserver.ShutdownHook.suppressHdfsShutdownHook(ShutdownHook.java:196)
> > 192.168.145.191:     at
> >
> org.apache.hadoop.hbase.regionserver.ShutdownHook.install(ShutdownHook.java:83)
> > 192.168.145.191:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3768)
> > 192.168.145.191:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3752)
> > 192.168.145.191:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:61)
> > 192.168.145.191:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:75)
> > 192.168.145.191:     at
> > org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> > 192.168.145.191:     at
> >
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
> > 192.168.145.191:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3812)
> > 192.168.145.183: Exception in thread "main" java.lang.RuntimeException:
> > Failed suppression of fs shutdown hook: Thread[Thread-5,5,main]
> > 192.168.145.183:     at
> >
> org.apache.hadoop.hbase.regionserver.ShutdownHook.suppressHdfsShutdownHook(ShutdownHook.java:196)
> > 192.168.145.183:     at
> >
> org.apache.hadoop.hbase.regionserver.ShutdownHook.install(ShutdownHook.java:83)
> > 192.168.145.183:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3768)
> > 192.168.145.183:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.startRegionServer(HRegionServer.java:3752)
> > 192.168.145.183:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:61)
> > 192.168.145.183:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:75)
> > 192.168.145.183:     at
> > org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> > 192.168.145.183:     at
> >
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
> > 192.168.145.183:     at
> >
> org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:3812)
> >
> >
> > The hbase master UI is showing 1 regionserver running on localhost:60020
> >
> > Regards,
> > Anand
>
>

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