You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Michael Berman (JIRA)" <ji...@apache.org> on 2013/07/19 18:36:48 UTC

[jira] [Created] (ACCUMULO-1586) If initial port binding fails, ThriftMetrics MBean is never registered for subsequently bound TServer

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