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 F04BD200D5C for ; Fri, 1 Dec 2017 00:08:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EEB2F160C04; Thu, 30 Nov 2017 23:08:18 +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 401A2160C01 for ; Fri, 1 Dec 2017 00:08:18 +0100 (CET) Received: (qmail 42081 invoked by uid 500); 30 Nov 2017 23:08:17 -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 42066 invoked by uid 99); 30 Nov 2017 23:08:17 -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; Thu, 30 Nov 2017 23:08:17 +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 4E46C180797 for ; Thu, 30 Nov 2017 23:08:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3V50qaRuYb_R for ; Thu, 30 Nov 2017 23:08:15 +0000 (UTC) Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 06E895F1B3 for ; Thu, 30 Nov 2017 23:08:15 +0000 (UTC) Received: by mail-it0-f44.google.com with SMTP id f143so453974itb.0 for ; Thu, 30 Nov 2017 15:08:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XwzjnSHfPiP3tdqBCD2nEguJv2r2KsrGotj7Yt+SLo4=; b=T9dB0z0uQgAPgcr+CcnMFyBAHcck2sK8sAaz4HjaUG1OIoRTkJeON5/pqJpE3Sj2d3 WLfl86sekQZJgfzhMLjFTmTyXYuhKxifRcH/oXiMsXzdmywGyoxMWE2fftRM0hVTeypM eHwpAVaLUc3w2UBZskKgxllRQ+YDoWDHy5a2zH3ocsQ/tn6Ny7eHNBxv2354NvFlNwAc nEm8Vpc5Fta5dgAFMVe/NpLsEnTBG2FYXVpIaqMAcdhSk2XV7yVchvKxOW2QtNAUHeul av/x5UaeXcBPAbnEYPlQ5qX4CUT3siSWJi9POngkQZ0G5N6KWJf87nEkT8k4K4s1mHzd DDwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XwzjnSHfPiP3tdqBCD2nEguJv2r2KsrGotj7Yt+SLo4=; b=oi/3vBnVdh7ucZiBvMuc5ZXRrrkfEMAUYH0n5zIREBejyn9uPVcv0WYdWfrGLUwfaJ W09l0oEuIfQL8r+yHUXHxpfUthPnTX7FpwCm4iS7NdWULqvrRmSdQ15R9nRx3OKarMYW M+X0jDSrsSjrmM0+G6akUFf08ix0PEC1tXxYoJVJWBjogHdDPwrRUparFyXh220iOFJG 4+Y5sPwiQGe2BrPq3m8hA7o6kFuQ3n/dT1gEBs+SC0ukmIgC/vMbi31q5l5jMX8K9777 ICW9iGRZENvCu85OEy553v/PK/deNjA+ptdEIWRUSgPgBHFOJ6zkmKG35a3/IjawWjX1 VuEA== X-Gm-Message-State: AJaThX6blIfKXH8lqeQzCqrsriFH1veJWyFyX8q+otHII0RmKMAAFlFw K0b3AMZa5KpkYvoY2qoZXHEDaVNnLXvzigKvDtI= X-Google-Smtp-Source: AGs4zMaZsNLATi8FyA/GpuzyzbN1Z0tIIBWzeSw6TbXAzWlngv4NkekdcFaK9GwElnY4+18ncSYhEUXn4Kh+rvz7CrM= X-Received: by 10.36.151.141 with SMTP id k135mr5340926ite.15.1512083294292; Thu, 30 Nov 2017 15:08:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.141.23 with HTTP; Thu, 30 Nov 2017 15:07:43 -0800 (PST) From: Valentin Kulichenko Date: Thu, 30 Nov 2017 15:07:43 -0800 Message-ID: Subject: Deprecate IgniteRDD in embedded mode To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="94eb2c0d00d0a09026055f3b5309" archived-at: Thu, 30 Nov 2017 23:08:19 -0000 --94eb2c0d00d0a09026055f3b5309 Content-Type: text/plain; charset="UTF-8" Igniters, Currently we claim to support IgniteRDD in two modes: standalone and embedded. Standalone means there is a separately running Ignite cluster, and Spark start client node(s) to interact with it. In embedded node everything runs within Spark, including Ignite server nodes that are started embedded into Spark executors. The latter case doesn't really work, mainly because the lifecycle of Spark executors is not very predictable - Spark can start and stop them while application is running. In case Ignite cluster is used to store data (which is usually the case), this causes unnecessary rebalancing or even unexpected data loss. I propose to deprecate and eventually discontinue the embedded mode. Luckily, standalone mode is the default one, so we can simply print out a clear warning if one switches to embedded mode, and also mention this in the docs. Thoughts? If there are no objections, I will create a ticket and make the change. -Val --94eb2c0d00d0a09026055f3b5309--