hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Spaggiari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8613) Improve logging when BindException is received at startup time.
Date Fri, 24 May 2013 14:46:21 GMT
Jean-Marc Spaggiari created HBASE-8613:
------------------------------------------

             Summary: Improve logging when BindException is received at startup time.
                 Key: HBASE-8613
                 URL: https://issues.apache.org/jira/browse/HBASE-8613
             Project: HBase
          Issue Type: Improvement
            Reporter: Jean-Marc Spaggiari
            Assignee: Jean-Marc Spaggiari
            Priority: Minor


When a RS try to start by the address/port is already used, it's lacking some information.
Display the address and the port might be useful to troubleshot the issue.

Goal of this JIRA is just to improve the logging.

{code}
2013-05-24 10:36:46,182 WARN org.apache.hadoop.hbase.regionserver.HRegionServer: Exception
in region server : 
java.net.BindException: Adresse déjà utilisée
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:344)
	at sun.nio.ch.Net.bind(Net.java:336)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:581)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.putUpWebUI(HRegionServer.java:1716)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.startServiceThreads(HRegionServer.java:1674)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.handleReportForDutyResponse(HRegionServer.java:1099)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:741)
	at java.lang.Thread.run(Thread.java:722)
2013-05-24 10:36:46,206 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: STOPPED:
Failed initialization
2013-05-24 10:36:46,209 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: Failed init
java.net.BindException: Adresse déjà utilisée
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:344)
	at sun.nio.ch.Net.bind(Net.java:336)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:581)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.putUpWebUI(HRegionServer.java:1716)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.startServiceThreads(HRegionServer.java:1674)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.handleReportForDutyResponse(HRegionServer.java:1099)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:741)
	at java.lang.Thread.run(Thread.java:722)
2013-05-24 10:36:46,210 FATAL org.apache.hadoop.hbase.regionserver.HRegionServer: ABORTING
region server node2,60020,1369406202844: Unhandled exception: Adresse déjà utilisée
java.net.BindException: Adresse déjà utilisée
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:344)
	at sun.nio.ch.Net.bind(Net.java:336)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:199)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
	at org.apache.hadoop.http.HttpServer.start(HttpServer.java:581)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.putUpWebUI(HRegionServer.java:1716)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.startServiceThreads(HRegionServer.java:1674)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.handleReportForDutyResponse(HRegionServer.java:1099)
	at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:741)
	at java.lang.Thread.run(Thread.java:722)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message