Michael Berman created ACCUMULO-1586:
----------------------------------------
Summary: If initial port binding fails, ThriftMetrics MBean is
never registered for subsequently bound TServer
Key: ACCUMULO-1586
URL: https://issues.apache.org/jira/browse/ACCUMULO-1586
Project: Accumulo
Issue Type: Bug
Affects Versions: 1.5.0
Reporter: Michael Berman
Assignee: Michael Berman
When trying a range of ports, the MBean for reporting metrics is registered
before the connection has had an opportunity to fail. If it fails and we try a
new port, the same MBean objectName is used for registering the new
ThriftMetrics object created for the new server. This fails because there is
already an MBean registered with that name. A couple possible fixes: wait to
register until we're sure the connection has succeeded; create the timed
processor outside the port-binding loop; or deregister the bean after a failure.
--
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