[
https://issues.apache.org/jira/browse/IGNITE-12890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083245#comment-17083245
]
Ignite TC Bot commented on IGNITE-12890:
----------------------------------------
{panel:title=Branch: [pull/7667/head] Base: [master] : Possible Blockers
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}PDS (Indexing){color} [[tests 0 TIMEOUT , Exit Code
|https://ci.ignite.apache.org/viewLog.html?buildId=5222394]]
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5219417&buildTypeId=IgniteTests24Java8_RunAll]
> JMX attribute 'getExecutorServiceFormatted' of IgniteMXBean returns
> getPublicThreadPoolSize() instead of formatted executor service
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-12890
> URL: https://issues.apache.org/jira/browse/IGNITE-12890
> Project: Ignite
> Issue Type: Bug
> Reporter: Maria Makedonskaya
> Assignee: Maria Makedonskaya
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> while testing JmxWorker I found a possible bug in one of attributes of
> IgniteMXBean
> 1. start ignite node with IGNITE_JMX_PORT=1100
> 2. get ExecutorServiceFormatted attribute via JMX
> {noformat}
> /usr/lib/jvm/java-8-oracle/bin/java -cp
> ./ignite-test-tools-1.0.0-SNAPSHOT.jar org.apache.ignite.testtools.JmxWorker
> -host=127.0.0.1 -port=1100 -bean=IgniteKernal -group=Kernal
> -attribute=ExecutorServiceFormatted
> 8
> {noformat}
> a number does not looks like proper value for string representation of
> complex object, browsing the code reveals following:
> {noformat}
> @Override public String getExecutorServiceFormatted() {
> assert cfg != null;
> return String.valueOf(cfg.getPublicThreadPoolSize());
> }
> {noformat}
> We should deprecate 'getExecutorServiceFormatted' and create a new method
> 'getPublicThreadPoolSize'.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)