[GitHub] ignite pull request: IGNITE-1854

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] ignite pull request: IGNITE-1854

andrey-kuznetsov
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 <[hidden email]>
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

Re: [GitHub] ignite pull request: IGNITE-1854

Denis Magda
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 <[hidden email]>
> 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 [hidden email] or file a JIRA ticket
> with INFRA.
> ---

Reply | Threaded
Open this post in threaded view
|

Re: [GitHub] ignite pull request: IGNITE-1854

姜 为
In the distributed case, the different types of servers need to transfer objects that implement a unified interface,

but each type of server implementation mechanisms are not the same, to achieve the object's class will realize Externalizable interface.

Like this:

interface A extends Externalizable {
void a();

void b();
}


class B implement A {
        void a(){
                do something
        }

        void b(){
                throw new unsupporte execution;
        }

   implement Externalizable read and write….
}

class C implement A {
        void a(){
                throw new unsupporte execution;
        }

        void b(){
                 do something
        }
 implement Externalizable read and write….
}


Then do this for other type servers:
IgniteCompute.call(new IgniteCallable() { A.a() or A.b() });




> 在 2015年11月4日,下午9:19,Denis Magda <[hidden email]> 写道:
>
> 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 <[hidden email]>
>> 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 [hidden email] or file a JIRA ticket
>> with INFRA.
>> ---
>

Reply | Threaded
Open this post in threaded view
|

Re: [GitHub] ignite pull request: IGNITE-1854

dsetrakyan
Hi wmz7year,

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.

All you need to do is send an empty email to “
[hidden email]” and then simply reply to the reply you
receive.

D.

On Wed, Nov 4, 2015 at 5:22 PM, 姜 为 <[hidden email]> wrote:

> In the distributed case, the different types of servers need to transfer
> objects that implement a unified interface,
>
> but each type of server implementation mechanisms are not the same, to
> achieve the object's class will realize Externalizable interface.
>
> Like this:
>
> interface A extends Externalizable {
> void a();
>
> void b();
> }
>
>
> class B implement A {
>         void a(){
>                 do something
>         }
>
>         void b(){
>                 throw new unsupporte execution;
>         }
>
>    implement Externalizable read and write….
> }
>
> class C implement A {
>         void a(){
>                 throw new unsupporte execution;
>         }
>
>         void b(){
>                  do something
>         }
>  implement Externalizable read and write….
> }
>
>
> Then do this for other type servers:
> IgniteCompute.call(new IgniteCallable() { A.a() or A.b() });
>
>
>
>
> > 在 2015年11月4日,下午9:19,Denis Magda <[hidden email]> 写道:
> >
> > 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 <[hidden email]>
> >> 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 [hidden email] or file a JIRA
> ticket
> >> with INFRA.
> >> ---
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [GitHub] ignite pull request: IGNITE-1854

姜 为
Hi Dmitriy Setrakyan,

I have subscribe to the dev list.

> 在 2015年11月5日,上午9:29,Dmitriy Setrakyan <[hidden email]> 写道:
>
> Hi wmz7year,
>
> 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.
>
> All you need to do is send an empty email to “[hidden email] <mailto:[hidden email]>” and then simply reply to the reply you receive.
>
> D.
>
> On Wed, Nov 4, 2015 at 5:22 PM, 姜 为 <[hidden email] <mailto:[hidden email]>> wrote:
> In the distributed case, the different types of servers need to transfer objects that implement a unified interface,
>
> but each type of server implementation mechanisms are not the same, to achieve the object's class will realize Externalizable interface.
>
> Like this:
>
> interface A extends Externalizable {
> void a();
>
> void b();
> }
>
>
> class B implement A {
>         void a(){
>                 do something
>         }
>
>         void b(){
>                 throw new unsupporte execution;
>         }
>
>    implement Externalizable read and write….
> }
>
> class C implement A {
>         void a(){
>                 throw new unsupporte execution;
>         }
>
>         void b(){
>                  do something
>         }
>  implement Externalizable read and write….
> }
>
>
> Then do this for other type servers:
> IgniteCompute.call(new IgniteCallable() { A.a() or A.b() });
>
>
>
>
> > 在 2015年11月4日,下午9:19,Denis Magda <[hidden email] <mailto:[hidden email]>> 写道:
> >
> > 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 <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 <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 <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 <[hidden email] <mailto:[hidden email]>>
> >> 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 [hidden email] <mailto:[hidden email]> or file a JIRA ticket
> >> with INFRA.
> >> ---
> >
>
>

Reply | Threaded
Open this post in threaded view
|

[GitHub] ignite pull request: IGNITE-1854

andrey-kuznetsov
In reply to this post by andrey-kuznetsov
Github user wmz7year closed the pull request at:

    https://github.com/apache/ignite/pull/200


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---