[ https://issues.apache.org/jira/browse/IGNITE-8430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467143#comment-16467143 ]
ASF GitHub Bot commented on IGNITE-8430: ---------------------------------------- GitHub user akalash opened a pull request: https://github.com/apache/ignite/pull/3957 IGNITE-8430 implemented getCurrentCoordinatorFormatted method in Igni… …teMXBean You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-8430 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/3957.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3957 ---- commit 0aa57ba6e47baff658279e53d38f6364e2626fbf Author: Anton Kalashnikov <kaa.dev@...> Date: 2018-05-08T09:26:57Z IGNITE-8430 implemented getCurrentCoordinatorFormatted method in IgniteMXBean ---- > implement getCurrentCoordinator method in IgniteMXBean > ------------------------------------------------------ > > Key: IGNITE-8430 > URL: https://issues.apache.org/jira/browse/IGNITE-8430 > Project: Ignite > Issue Type: New Feature > Affects Versions: 2.5 > Reporter: Max Shonichev > Assignee: Anton Kalashnikov > Priority: Major > Fix For: 2.5 > > > Currently, user can obtain coordinator node id via JMX attribute Coordinator > of TcpDiscoverySpi OR ZookeeperDiscoverySpi MBean. > However, to get this attribute, external utility JMX must first understand > which discovery SPI implementation is used at current grid, which is > inconvenient. Would be much better if that attribute was located in same > instance no matter which Disco SPI was configured. > Please, add String CurrentCoordinator attribute to Ignite MX bean with > following meaning: > - for the cases, when node does not know current coordinator (e.g. > getCoordinator returns null), attribute should be empty string '' > - for the case, when node knows current coordinator, return following > coordinator properties formatted as string, separated by ',': > -- Coordinator IP address > -- Coordinator node ID > -- Coordinator node order > -- Coordinator Fully Qualified Domain Name -- This message was sent by Atlassian JIRA (v7.6.3#76005)