From user-return-21914-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Sun Sep 16 19:11:18 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 E6B88180652 for ; Sun, 16 Sep 2018 19:11:17 +0200 (CEST) Received: (qmail 8838 invoked by uid 500); 16 Sep 2018 17:11:16 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 8827 invoked by uid 99); 16 Sep 2018 17:11:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2018 17:11:16 +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 32977C2063 for ; Sun, 16 Sep 2018 17:11:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.111 X-Spam-Level: X-Spam-Status: No, score=-0.111 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xxt8HbqID-iV for ; Sun, 16 Sep 2018 17:11:15 +0000 (UTC) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3B0815F5BA for ; Sun, 16 Sep 2018 17:11:15 +0000 (UTC) Received: by mail-pl1-f171.google.com with SMTP id 38-v6so600065plc.10 for ; Sun, 16 Sep 2018 10:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=n48tTKZN8i05LDzmoqjj9fEXCFy8/FYB7huOp8XbZ6Y=; b=E4U0uSuIovojxTlpYsA2er/BYxmrGkorJIFbOxEjxIAmf2z8l/ONVGBXCQ+yiF3g9y K+MijWKV5mFC5t0eE+FHkF85t+YmWQOaxLRwDswpEdSn0Z/DJUX+jU5ZZ09SXpzz150l OIEDSOibhNEWu+/W969LsETFfHvbGlQbcFBavRkt1zMZ/yHRJHoF10+FNBCUl7+roCGm 7lfEAEqtNU1y1l1mmHHNLMhNZthbXoEL4qGw0NLOt3sykIkeQFCn4EGo2BVpi9vLPWO2 P3Cg5XRVJpisGFryq0n9W2rMX/z2yooVmWHCmheJzDP3PzqfXKTzdvhYpP3RoQDuXhgs zliw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=n48tTKZN8i05LDzmoqjj9fEXCFy8/FYB7huOp8XbZ6Y=; b=IfhMrcgy8J3rz+3sm6Aigc+Y4Dt8dYwkn1+t2jwc2MiB+tyqcDk46AjTKHF0uXZm5Z tXy9+9HQetrEsUa/WZ6hpche4lI+mqEcKGqZA58VsS4XweYKRgga3Yya2YbHsDmjtRs6 T/rs32yQ3OwyxBB9/y3vpvYdQ3p3yOtx12UMROQRjC5Ozl4eSdBcqLW0ySCIuwvAhM/G WQuME6W3F5QUcHx+YIcDCputuRoEntbgCrJMQKJ6jDJS+LjXIW1DUq6O3Yeeju6GEc91 O7xSq2tJ1DLxcCUw8ye1JBaNjtEFlJ0gWcebP09wv2HMqFG7YQ6OFqWZFGDoVDuYS0sE GYSQ== X-Gm-Message-State: APzg51AuzVK6ETu5CLiB0Xv+La+NLxFpWTHdK+GTpq8Z4xCSaL+Eo6ix ra+r3ZzhKdAEW78CWk0Vu7CEaNKmVEe8aREyTXMmD4Q9faA= X-Google-Smtp-Source: ANB0Vda+Mhm0Q4O9w/7E+cJVTKi2Z5H01DiPYnhpoSGRlC2pkXIj7ktlIw/fWBBtgVXKPbu+ZZgT9D8ISvicFewDfzQ= X-Received: by 2002:a17:902:561:: with SMTP id 88-v6mr21309639plf.320.1537117874006; Sun, 16 Sep 2018 10:11:14 -0700 (PDT) MIME-Version: 1.0 References: <1536947934765-0.post@n6.nabble.com> In-Reply-To: <1536947934765-0.post@n6.nabble.com> From: Vyacheslav Daradur Date: Sun, 16 Sep 2018 20:11:00 +0300 Message-ID: Subject: Re: Using compute().call from a Service has P2P class loading feature? To: user@ignite.apache.org Content-Type: text/plain; charset="UTF-8" Hi! Unfortunately, peer class loading doesn't work properly for Service Grid. Here is a task with the same issue [1]. I've done some tests and according to results, the peer class loading works in case of service's classes propagation from a coordinator to others node, but not vice versa. Possibly it will be implemented in future releases. [1] https://issues.apache.org/jira/browse/IGNITE-975 On Fri, Sep 14, 2018 at 8:59 PM xero wrote: > > Hello, > I have a question about p2p class loading. > > My topology is 1 dedicated server, 1 client. > I have deployed a Service in the ignite client node (selecting clusterGroup > forClients) from which I'm trying to execute a compute() to the server node. > The IgniteCallable that I'm sending to call() is referencing User's classes > I would expect that the p2p class loading will transfer that class to the > server node (As the service is running in a client node, the classpath has > the mentioned classes) > > This is not working. I'm getting ClassNotFoundException for the user class. > Should this be working? > > Thanks! > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ -- Best Regards, Vyacheslav D.