HBASE-8613 Improve logging when BindException is received at startup time
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1486289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ff4038b79
commit
e849b9bfb9
|
@ -1595,6 +1595,7 @@ public class HRegionServer implements ClientProtos.ClientService.BlockingInterfa
|
||||||
} catch (BindException e) {
|
} catch (BindException e) {
|
||||||
if (!auto) {
|
if (!auto) {
|
||||||
// auto bind disabled throw BindException
|
// auto bind disabled throw BindException
|
||||||
|
LOG.error("Failed binding http info server to port: " + port);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
// auto bind enabled, try to use another port
|
// auto bind enabled, try to use another port
|
||||||
|
|
Loading…
Reference in New Issue