hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8613) Improve logging when BindException is received at startup time.
Date Sat, 25 May 2013 07:09:41 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667010#comment-13667010
] 

Hudson commented on HBASE-8613:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #542 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/542/])
    HBASE-8613 Improve logging when BindException is received at startup time (Revision 1486289)

     Result = FAILURE
stack : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

                
> 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
>             Fix For: 0.98.0, 0.95.1
>
>         Attachments: HBASE-8613-v0-trunk.patch
>
>
> 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