Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 98FBC200D3A for ; Wed, 15 Nov 2017 11:34:39 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 96D8A160BF4; Wed, 15 Nov 2017 10:34:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DC6F6160BEA for ; Wed, 15 Nov 2017 11:34:38 +0100 (CET) Received: (qmail 37600 invoked by uid 500); 15 Nov 2017 10:34:38 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 37578 invoked by uid 99); 15 Nov 2017 10:34:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2017 10:34:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F3603180795 for ; Wed, 15 Nov 2017 10:34:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.979 X-Spam-Level: * X-Spam-Status: No, score=1.979 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id s6K2vzw370JZ for ; Wed, 15 Nov 2017 10:34:35 +0000 (UTC) Received: from mail-ua0-f169.google.com (mail-ua0-f169.google.com [209.85.217.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 929215FE62 for ; Wed, 15 Nov 2017 10:34:35 +0000 (UTC) Received: by mail-ua0-f169.google.com with SMTP id p33so12372176uag.9 for ; Wed, 15 Nov 2017 02:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=d0CjFknorj9wm7vQvBWWcSP4ZUhCmEpLUPvZGogB+Ws=; b=xtljRARCkGNShQOPd3b96BaCnVzisu0Z+ZVpCUTzuUIfKyIQiLns6xhCjtTGpu2l4j QM/0dGKvw9GLfsviJ8xs9nHO7bXpaXvLQy3QwCKAjWepi6TDnldYDq96Mnc98dCgGQFJ S7piP2ExUlIeBerbUQlfPdjT5q5rj8iGOGhSTIiErQ+HCG25XqD1Ws6u9w5IHnL6QHDQ PX3msEsQkUOI2l0Vwx6r8ikT17dS4NcEEJQZjGWnYJl85dOk349c78zZQUH7yYsNYV8v UXUlomuzjJBIV6NzN85Yg832sd6CvDgRyFjDli2q6GzcM4vBwdEo8oZjJUfl91vNXMPz qDiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=d0CjFknorj9wm7vQvBWWcSP4ZUhCmEpLUPvZGogB+Ws=; b=NQVqmBmtSC/DzGJ763tS15PP5uZhZP/Y7ZLCQGdP8uFcJHsp1AbZKJB0JH4kQmhESO AXJrxuuGPcuIb49mKE3JrroAT36rxmsCWXm/bowd4RzR4RDCBiMauYC94+XnnO5mwJq6 Ac23h2+yCeWLuPVabkuvkkc4yAmG4cbQeFpwSqjRtR0NNBZo981w/A6Cl2IioB/6PpIV VuTnvjbtMXt5nPEB2C6TrRTfyseTcJ2aKji73O8RC6UKjEno8NbO9cS215SMk6GmGzkE Y5plL02gmK81lGCj0itM97+lFphiD5l3F50sZzDn1PEBfxEeBBi1UgPFqKc0eLTS2Abd 36IQ== X-Gm-Message-State: AJaThX7jrVSXwPX7FvcvTNK3oFB4QxSvBZlX4SkCTGf+2CwysAoYXdpp VKgHjGhFm+x2vznU53ta20MK4wvSxuuBixA03AexNg== X-Google-Smtp-Source: AGs4zMaP6eWb041uDyzLiiek4UfgTKq+xXZ5rDZYC9Yhm/+Pgbs8rRUGKqCTUwI3DND8e+obKKbJ1LRM+E5nWYZ9tNI= X-Received: by 10.176.79.16 with SMTP id n16mr1857708uah.102.1510742074862; Wed, 15 Nov 2017 02:34:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.68.225 with HTTP; Wed, 15 Nov 2017 02:34:34 -0800 (PST) In-Reply-To: References: From: Vladimir Ozerov Date: Wed, 15 Nov 2017 13:34:34 +0300 Message-ID: Subject: Re: Add emergency node closing handler to public Ignite API To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="f403043c4668b846f7055e030ca6" archived-at: Wed, 15 Nov 2017 10:34:39 -0000 --f403043c4668b846f7055e030ca6 Content-Type: text/plain; charset="UTF-8" AFAIK the idea was not only to shutdown the node, but also to give user (e.g. administrator) ability to observe the problem from the outside, e.g. through JMX. E.g. if we detect Java-level deadlock, it doesn't mean that the only possible solution is node shutdown. In addition it could be no-op, e.g. to give user chance to collect additional system info, or simply because this particular deadlock is resolvable (e.g. Lock.lockInterruptibly()). So as we need to expose health info through JMX anyway, we could also give user programmatic access to it as well. Alternatively, we can expose this info through JMX only and ask user to get instance of that bean manually. On Wed, Nov 15, 2017 at 1:19 PM, Anton Vinogradov wrote: > Vova, > > Could you point to metric you're talking about? > > On Wed, Nov 15, 2017 at 1:06 PM, Andrey Kuznetsov > wrote: > > > Vladimir, > > > > Could you please refine, what are local metrics? Should I extend Ignite > > interface by adding something similar to dataRegionMetrics() or there is > > some universal mechanism to handle metrics? > > > > 2017-11-15 8:30 GMT+03:00 Vladimir Ozerov : > > > > > > This information should be available through local metrics, so that it > is > > > accessible from Ignite instance. > > > > > > --f403043c4668b846f7055e030ca6--