[jira] [Commented] (HBASE-14170) [HBase Rest] RESTServer is not shutting down if "hbase.rest.port" Address already in use.
[ https://issues.apache.org/jira/browse/HBASE-14170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258575#comment-16258575 ] Bar Rotstein commented on HBASE-14170: -- Hey, I would like to start working on this issue. I'll try and catch the exception to shutdown the REST server. > [HBase Rest] RESTServer is not shutting down if "hbase.rest.port" Address > already in use. > - > > Key: HBASE-14170 > URL: https://issues.apache.org/jira/browse/HBASE-14170 > Project: HBase > Issue Type: Bug > Components: REST >Reporter: Y. SREENIVASULU REDDY > Fix For: 2.0.0 > > > [HBase Rest] RESTServer is not shutting down if "hbase.rest.port" Address > already in use. > If "hbase.rest.port" Address already in use, RESTServer should shutdown, > with out this "hbase.rest.port" we cant perform any operations on > RESTServer. Then there is no use of running RESTServer process. > {code} > 2015-07-30 11:49:48,273 WARN [main] mortbay.log: failed > SelectChannelConnector@0.0.0.0:8080: java.net.BindException: Address already > in use > 2015-07-30 11:49:48,274 WARN [main] mortbay.log: failed Server@563f38c4: > java.net.BindException: Address already in use > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HBASE-14170) [HBase Rest] RESTServer is not shutting down if "hbase.rest.port" Address already in use.
[ https://issues.apache.org/jira/browse/HBASE-14170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701141#comment-14701141 ] sunhaitao commented on HBASE-14170: --- the hang comes from Jetty server, the jetty server is not handling the port already bound exception > [HBase Rest] RESTServer is not shutting down if "hbase.rest.port" Address > already in use. > - > > Key: HBASE-14170 > URL: https://issues.apache.org/jira/browse/HBASE-14170 > Project: HBase > Issue Type: Bug > Components: REST >Reporter: Y. SREENIVASULU REDDY > Fix For: 2.0.0, 1.2.0, 1.0.3 > > > [HBase Rest] RESTServer is not shutting down if "hbase.rest.port" Address > already in use. > If "hbase.rest.port" Address already in use, RESTServer should shutdown, > with out this "hbase.rest.port" we cant perform any operations on > RESTServer. Then there is no use of running RESTServer process. > {code} > 2015-07-30 11:49:48,273 WARN [main] mortbay.log: failed > SelectChannelConnector@0.0.0.0:8080: java.net.BindException: Address already > in use > 2015-07-30 11:49:48,274 WARN [main] mortbay.log: failed Server@563f38c4: > java.net.BindException: Address already in use > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)