Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CF3818989 for ; Wed, 22 Jul 2015 11:50:55 +0000 (UTC) Received: (qmail 28272 invoked by uid 500); 22 Jul 2015 11:24:15 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 28236 invoked by uid 500); 22 Jul 2015 11:24:15 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 28226 invoked by uid 99); 22 Jul 2015 11:24:15 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2015 11:24:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BAD42C019D for ; Wed, 22 Jul 2015 11:24:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id DLremoh0EEcz for ; Wed, 22 Jul 2015 11:24:08 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 891A226405 for ; Wed, 22 Jul 2015 11:24:08 +0000 (UTC) Received: (qmail 28213 invoked by uid 99); 22 Jul 2015 11:24:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2015 11:24:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4BF7BDFBC9; Wed, 22 Jul 2015 11:24:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: akuznetsov@apache.org To: commits@ignite.incubator.apache.org Message-Id: <7a72e7b426d74ff98e74818a4cff1d60@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-ignite git commit: GG-10591 Force stop prev node before start new one. Date: Wed, 22 Jul 2015 11:24:08 +0000 (UTC) Repository: incubator-ignite Updated Branches: refs/heads/ignite-1.3.3 a749ed80a -> dd92a5a07 GG-10591 Force stop prev node before start new one. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/dd92a5a0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/dd92a5a0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/dd92a5a0 Branch: refs/heads/ignite-1.3.3 Commit: dd92a5a0785a84f0d2a8226a9199a1fb78c4db93 Parents: a749ed8 Author: AKuznetsov Authored: Wed Jul 22 18:23:52 2015 +0700 Committer: AKuznetsov Committed: Wed Jul 22 18:23:52 2015 +0700 ---------------------------------------------------------------------- .../org/apache/ignite/visor/commands/open/VisorOpenCommand.scala | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dd92a5a0/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/open/VisorOpenCommand.scala ---------------------------------------------------------------------- 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 632a96b..5ec4cd0 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 @@ -241,6 +241,9 @@ class VisorOpenCommand extends VisorConsoleCommand { cfg.setGridLogger(new NullLogger) val startedGridName = try { + // We need to stop previous daemon node before to start new one. + Ignition.stopAll(true) + Ignition.start(cfg).name } finally {