Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Unable to start regionserver in distributed mode


+
anand nalya 2013-03-28, 15:30
+
shashwat shriparv 2013-03-28, 15:59
+
Ted Yu 2013-03-28, 16:05
Copy link to this message
-
Re: Unable to start regionserver in distributed mode
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

+
Mohammad Tariq 2013-03-28, 18:25