From dev-return-30999-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Feb 14 05:17:32 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 588AC180656 for ; Wed, 14 Feb 2018 05:17:31 +0100 (CET) Received: (qmail 10965 invoked by uid 500); 14 Feb 2018 04:17:30 -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 10949 invoked by uid 99); 14 Feb 2018 04:17:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2018 04:17:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0750B1A0121 for ; Wed, 14 Feb 2018 04:17:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.542 X-Spam-Level: * X-Spam-Status: No, score=1.542 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id y-9gy1jPwK6M for ; Wed, 14 Feb 2018 04:17:28 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8EA675F232 for ; Wed, 14 Feb 2018 04:17:27 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id x196so27602877lfd.12 for ; Tue, 13 Feb 2018 20:17:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:message-id:subject:to:date:in-reply-to:references :mime-version; bh=B4qXfKfoXDX1uNfCcM9PNgB7c5iYu+Zj2FYK4qCk8+c=; b=kd2tU6Sp6opya1qzPo2nLyIZE/VnZ5adQdN0z8Il7qW442mxaivK5IZPLukXob6sM0 bnBRky6zC6v2nUmsHniEOGkWg8NOQ7x++uX1Q+Ac/PrR7OBZ8+Tw0wntELTB7V/PTcPC X7LlXZM3OHOAGPSd9NzsJ9EZiOPKRgWSOAp8mtIyFE2eaNUlpc6RWapqYtoMd+f9ygpi gtlQi+DWuepKRyJ+Us/abfEKvouPlinWAeo4vrXnuHHMB7J7qfhpA0ZbQ83haMdVXisr WfcNKQTr3BCrZqVBOGjcX9KhnWzTPBMsDIr1Hen2kOHxIEF4L5Gq2y3NoW/BjvGbuClI PSKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:message-id:subject:to:date :in-reply-to:references:mime-version; bh=B4qXfKfoXDX1uNfCcM9PNgB7c5iYu+Zj2FYK4qCk8+c=; b=Zw0qNSOhoBC5kbKv6DMFNujf9CreCCMXJBGzyKddUc1tEQYKJXE+V0Ss0v9VprOV1T da93YLmTENAC1nbAddXZXl8QNgnCG2Q+PYAUY5FA1oeXYayOK3xdNFJvkHQmKxs7HOC9 E0LDvnVifRDtJFfjAfmqSm0fpPyqBVULFQqTXmuhq8BVPWW9TTrxBllkBbaxwO208qoY fzR7l2KDP0utT5urpapOKhWJ7GdFvJgnriZWgqkvWG1lX1GSwlBGfPa+2pP4b2sMJhRP RXAHlP6V1T/+T1UDiOZxZMvDBuVqiYRZFOAuU2yn1XQNQNlUBeHAD3OirUQ8p5BkVX4V Ya+A== X-Gm-Message-State: APf1xPCxzolzJGDVykoNY1UG6p62uDcf/pf+8DLJHClTwtrNRFHorzcq jM3BAFCZy0beaFHbPNcA73K0mC2z X-Google-Smtp-Source: AH8x224kpn21fW9kH534uv/QG0S0rwxmg7lvSvQxy9TnY7Vs0AJmJrG/8it72Z3WLM5CUrIGe9+kIQ== X-Received: by 10.46.4.10 with SMTP id 10mr2322242lje.64.1518581846185; Tue, 13 Feb 2018 20:17:26 -0800 (PST) Received: from newDragon ([213.87.154.221]) by smtp.googlemail.com with ESMTPSA id i13sm558185lfa.97.2018.02.13.20.17.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2018 20:17:24 -0800 (PST) Sender: =?UTF-8?B?0J3QuNC60L7Qu9Cw0Lkg0JjQttC40LrQvtCy?= From: Nikolay Izhikov X-Google-Original-From: Nikolay Izhikov Message-ID: <1518581838.30202.44.camel@gmail.com> Subject: Re: API to enlist running user tasks To: dev@ignite.apache.org Date: Wed, 14 Feb 2018 07:17:18 +0300 In-Reply-To: References: <1518532289.30202.10.camel@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-0bZotM7ztvbCPpRy78+V" X-Mailer: Evolution 3.26.1-1 Mime-Version: 1.0 --=-0bZotM7ztvbCPpRy78+V Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Denis. > Or is it just a separate task? Yes, it is a separate task. I propose to have a different method for each type of long running user tas= k: * continuous queries * compute tasks * compute jobs =D0=92 =D0=92=D1=82, 13/02/2018 =D0=B2 17:23 -0800, Denis Magda =D0=BF=D0= =B8=D1=88=D0=B5=D1=82: > Sounds like a right addition to our metrics APIs.=20 >=20 > However, I=E2=80=99m not sure how this part is related to continuous quer= ies: >=20 > > * List of running compute tasks for node:=20 > > * node ID task started from.=20 > > * task class name.=20 > > * other task parameters.=20 > > * creation timestamp (?)=20 > > * start timestamp (?)=20 > >=20 > > * List of running jobs for node:=20 > > * node ID task started from.=20 > > * task class name.=20 > > * other job parameters.=20 > > * creation timestamp (?) > > * start timestamp (?)=20 >=20 > Or is it just a separate task? >=20 > =E2=80=94 > Denis >=20 > > On Feb 13, 2018, at 6:31 AM, Nikolay Izhikov wrot= e: > >=20 > > Hello, Igniters.=20 > >=20 > > We have some requests from users [1] to have ability to get list of all= running continuous queries. > > I propose to implement such ability.=20 > >=20 > > To implement it we have to extend our JMX beans to provide the followin= g information:=20 > >=20 > > * List of continuous queries for cache: > > * local listener node.=20 > > * listener class name.=20 > > * routine ID.=20 > > * other CQ parameters=20 > > * creation timestamp (?)=20 > >=20 > > * List of running compute tasks for node:=20 > > * node ID task started from.=20 > > * task class name.=20 > > * other task parameters.=20 > > * creation timestamp (?)=20 > > * start timestamp (?)=20 > >=20 > > * List of running jobs for node:=20 > > * node ID task started from.=20 > > * task class name.=20 > > * other job parameters.=20 > > * creation timestamp (?) > > * start timestamp (?)=20 > >=20 > > I'm planning to file tickets to implement these features.=20 > > So, please, write if you have any objections.=20 > >=20 > > [1] http://apache-ignite-developers.2346864.n4.nabble.com/Re-List-of-ru= nning-Continuous-queries-or-CacheEntryListener-per-cache-or-node-tp25526.ht= ml --=-0bZotM7ztvbCPpRy78+V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEcBAABCAAGBQJag7hOAAoJEG4mj244PdRl1RYH/A9JqxFTCdPrUo3QkI2Zhw8X Iabf25+6BVm3zExpAQziALCFcjdf1/S6ITodU4Lf6WSKg2/xaWHiCAhHuLPjGRrk TocQ3jMiQN6f4epJQt8gkyUryc1HTetfxobfEhAxz7voG1y9Xo1tTjFx7tlPQ9vK y7MYLdo4PPHnCaQa3n1G3FIlZQIELpNPI8vEG/npRj/xMgfbv8chxEUuyprBptHG i3BbIFXuThffqcD5wIg8IPDoqg1feyDiOAlMcSx4k92sVn9ZAfupgEITlXXZGrvk WDPCb1H6lNpYCNDxnfrMUPsF/owXoapvoVF9P2LhDxODrnkkKe34ceU9eUT8aAs= =7OPo -----END PGP SIGNATURE----- --=-0bZotM7ztvbCPpRy78+V--