This is an automated email from the ASF dual-hosted git repository. ilyak pushed a commit to branch ignite-2.8.1 in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/ignite-2.8.1 by this push: new ad6759f IGNITE-12757 Visor CMD: Fixed invalid properties - Fixes #7505. ad6759f is described below commit ad6759f955b1548b9af764e79e5e323b8f9b0708 Author: zzzadruga <zzzadr...@gmail.com> AuthorDate: Wed Mar 25 19:26:24 2020 +0300 IGNITE-12757 Visor CMD: Fixed invalid properties - Fixes #7505. Signed-off-by: Ilya Kasnacheev <ilya.kasnach...@gmail.com> --- .../ignite/visor/commands/open/VisorOpenCommand.scala | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/open/VisorOpenCommand.scala b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/open/VisorOpenCommand.scala index f62ba3c..d69d5b8 100644 --- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/open/VisorOpenCommand.scala +++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/open/VisorOpenCommand.scala @@ -179,18 +179,8 @@ class VisorOpenCommand extends VisorConsoleCommand { // Setting up 'Config URL' for properly print in console. System.setProperty(IgniteSystemProperties.IGNITE_CONFIG_URL, url.getPath) - var cpuCnt = Runtime.getRuntime.availableProcessors - - if (cpuCnt < 4) - cpuCnt = 4 - cfg.setConnectorConfiguration(null) - // All thread pools are overridden to have size equal to number of CPUs. - cfg.setPublicThreadPoolSize(cpuCnt) - cfg.setSystemThreadPoolSize(cpuCnt) - cfg.setPeerClassLoadingThreadPoolSize(cpuCnt) - var ioSpi = cfg.getCommunicationSpi if (ioSpi == null) @@ -230,10 +220,11 @@ class VisorOpenCommand extends VisorConsoleCommand { } catch { case e: IgniteException => - warn(e.getMessage) warn("Type 'help open' to see how to use this command.") status("q") + + throw e; } }