Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FE7A185FF for ; Thu, 5 Nov 2015 01:44:20 +0000 (UTC) Received: (qmail 50384 invoked by uid 500); 5 Nov 2015 01:44:20 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 50328 invoked by uid 500); 5 Nov 2015 01:44:20 -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 50316 invoked by uid 99); 5 Nov 2015 01:44:19 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 01:44:19 +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 5FEF61A222A for ; Thu, 5 Nov 2015 01:44:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.15 X-Spam-Level: *** X-Spam-Status: No, score=3.15 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Yq2eg9Yjk5ey for ; Thu, 5 Nov 2015 01:44:10 +0000 (UTC) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id A8F4F20927 for ; Thu, 5 Nov 2015 01:44:09 +0000 (UTC) Received: by pabfh17 with SMTP id fh17so70123696pab.0 for ; Wed, 04 Nov 2015 17:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=rGj51Ncqunoecv+obVdQoGW1VWsIPUddgjl53hTWcjk=; b=wehXyorZ+TwUP6J8DuUkDqjK238Pi3IVQTjRzSaR6ButQs19GB2JYViT5Fbpoorg5L ol/kk0MWEJjpzmXd7Jjc8mqhFDsC+ppFipw9/hWEQJWq2mxz2PhjM6eY7CHgqDpN2Bs0 mzBHHqmYvOCvPid1fwlka+fkOk4pdZQEHqvRMMHn1eEnvAxrWFwP65e5LgG2IecaeeqD tP4IOI8K5mwiIXqgrBLU5Ozf7LWQaKmBqmlEOO30pQxrH/CEp8aMlmbknOu9uJwHYm7Q O10/P8AxmpzlLHi7Mz1qu0xTSu7wK+sfY39ZMxAAmhNeMaMTspaTnSsbR2ErKQmW4WUB eTGQ== X-Received: by 10.68.224.72 with SMTP id ra8mr6168617pbc.72.1446687848425; Wed, 04 Nov 2015 17:44:08 -0800 (PST) Received: from [10.10.10.2] ([198.11.178.249]) by smtp.gmail.com with ESMTPSA id d7sm4402574pas.31.2015.11.04.17.44.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Nov 2015 17:44:07 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_19A219D4-91C6-4CAD-87FA-228A8CD78A89" Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) Subject: Re: [GitHub] ignite pull request: IGNITE-1854 From: =?gb2312?B?vaogzqo=?= In-Reply-To: Date: Thu, 5 Nov 2015 09:43:58 +0800 Cc: dev@ignite.apache.org Message-Id: References: <563A05E9.5020709@gridgain.com> <48E99343-3DA6-46E1-82DE-AD14BFDD88AF@gmail.com> To: Dmitriy Setrakyan X-Mailer: Apple Mail (2.3094) --Apple-Mail=_19A219D4-91C6-4CAD-87FA-228A8CD78A89 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=gb2312 Hi Dmitriy Setrakyan, I have subscribe to the dev list. > =D4=DA 2015=C4=EA11=D4=C25=C8=D5=A3=AC=C9=CF=CE=E79:29=A3=ACDmitriy = Setrakyan =D0=B4=B5=C0=A3=BA >=20 > Hi wmz7year, >=20 > Can you please properly subscribe to the dev list? This way I will not = have to manually approve the emails you send out to the dev list.=20 >=20 > All you need to do is send an empty email to = =A1=B0dev-subscribe@ignite.apache.org = =A1=B1 and then simply reply to = the reply you receive. >=20 > D. >=20 > On Wed, Nov 4, 2015 at 5:22 PM, =BD=AA =CE=AA > wrote: > In the distributed case, the different types of servers need to = transfer objects that implement a unified interface, >=20 > but each type of server implementation mechanisms are not the same, to = achieve the object's class will realize Externalizable interface. >=20 > Like this: >=20 > interface A extends Externalizable { > void a(); >=20 > void b(); > } >=20 >=20 > class B implement A { > void a(){ > do something > } >=20 > void b(){ > throw new unsupporte execution; > } >=20 > implement Externalizable read and write=A1=AD. > } >=20 > class C implement A { > void a(){ > throw new unsupporte execution; > } >=20 > void b(){ > do something > } > implement Externalizable read and write=A1=AD. > } >=20 >=20 > Then do this for other type servers: > IgniteCompute.call(new IgniteCallable() { A.a() or A.b() }); >=20 >=20 >=20 >=20 > > =D4=DA 2015=C4=EA11=D4=C24=C8=D5=A3=AC=CF=C2=CE=E79:19=A3=ACDenis = Magda > =D0=B4=B5=C0=A3=BA= > > > > Hi wmz7year (sorry, don't know your real name), > > > > Thanks for showing the interest in Ignite and contributing to it but = I'm afraid that we can't accept this particular contribution. > > > > The reason is that the checksum verification is essential for = objects serialized with OptimizedMarshaller. It helps to prevent = ClassCastException and other weird stuff. > > > > Please share with us your use case that made you to modify = OptimizedMarshaller. Probably we will able to help you with this. > > > > P.S. > > If you haven't subscribed to dev and user lists please do this. > > > > -- > > Denis > > > > > > On 11/4/2015 12:52 PM, wmz7year wrote: > >> GitHub user wmz7year opened a pull request: > >> > >> https://github.com/apache/ignite/pull/200 = > >> > >> IGNITE-1854 > >> > >> > >> You can merge this pull request into a Git repository by running: > >> > >> $ git pull https://github.com/wmz7year/ignite = ignite-1854 > >> > >> Alternatively you can review and apply these changes as the patch = at: > >> > >> https://github.com/apache/ignite/pull/200.patch = > >> > >> To close this pull request, make a commit to your master/trunk = branch > >> with (at least) the following in the commit message: > >> > >> This closes #200 > >> ---- > >> commit 940db9ffc8e83149c2177de35dc7322fa972bd6e > >> Author: wmz7year > > >> Date: 2015-11-04T09:51:28Z > >> > >> IGNITE-1854 > >> > >> ---- > >> > >> > >> --- > >> If your project is set up for it, you can reply to this email and = have your > >> reply appear on GitHub as well. If your project does not have this = feature > >> enabled and wishes so, or if the feature is enabled but not = working, please > >> contact infrastructure at infrastructure@apache.org = or file a JIRA ticket > >> with INFRA. > >> --- > > >=20 >=20 --Apple-Mail=_19A219D4-91C6-4CAD-87FA-228A8CD78A89--