You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/05/16 20:51:04 UTC

[jira] [Commented] (GEODE-2915) Messages rejected due to unknown "vmkind"

    [ https://issues.apache.org/jira/browse/GEODE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16013089#comment-16013089 ] 

ASF subversion and git services commented on GEODE-2915:
--------------------------------------------------------

Commit 973eb33e20993331d192c2ba85d7c9d35f209bdf in geode's branch refs/heads/develop from [~bschuchardt]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=973eb33 ]

GEODE-2915 Messages rejected due to unknown "vmkind"

The fix for GEODE_2875 has exacerbated this problem, which we used to only
see in cases where disable-tcp=true or when multicast was enabled.

The problem is that JGroupsMessenger is not sending the "vmkind" of the
sender in message headers.  This part of the header comes from
GMSMember.writeEssentialData().  I've changed it here to include the
vmKind if the recipient isn't using geode 1.0, which doesn't expect
the version byte.


> Messages rejected due to unknown "vmkind"
> -----------------------------------------
>
>                 Key: GEODE-2915
>                 URL: https://issues.apache.org/jira/browse/GEODE-2915
>             Project: Geode
>          Issue Type: Bug
>          Components: messaging
>            Reporter: Bruce Schuchardt
>
> Periodically we are seeing messages being rejected with the following error:
> {noformat}
> [warning 2017/02/25 10:28:49.539 PST gemfire2_rs-FullRegression-2017-02-25-03-00-45-client-30_6335 <vm_6_thr_8_client2_rs-FullRegression-2017-02-25-03-00-45-client-30_6335> tid=0x14] Membership: Error handling startup event
> org.apache.geode.InternalGemFireError: Unknown  member type:  0
>         at org.apache.geode.distributed.internal.DistributionManager.addNewMember(DistributionManager.java:1787)
>         at org.apache.geode.distributed.internal.DistributionManager$MyListener.newMemberConnected(DistributionManager.java:4319)
>         at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.addSurpriseMember(GMSMembershipManager.java:972)
>         at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.dispatchMessage(GMSMembershipManager.java:1094)
>         at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.processStartupEvent(GMSMembershipManager.java:1204)
>         at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.startEventProcessing(GMSMembershipManager.java:1254)
>         at org.apache.geode.distributed.internal.DistributionManager.<init>(DistributionManager.java:1185)
>         at org.apache.geode.distributed.internal.DistributionManager.create(DistributionManager.java:531)
>         at org.apache.geode.distributed.internal.InternalDistributedSystem.initialize(InternalDistributedSystem.java:687)
>         at org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:299)
>         at org.apache.geode.distributed.DistributedSystem.connect(DistributedSystem.java:202)
>         at hydra.DistributedSystemHelper._connect(DistributedSystemHelper.java:110)
>         at hydra.DistributedSystemHelper.connect(DistributedSystemHelper.java:73)
>         at perffmwk.PerformanceStatistics.factory(PerformanceStatistics.java:93)
>         at cacheperf.CachePerfStats.getStatisticDescriptors(CachePerfStats.java:96)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at hydra.MethExecutor.execute(MethExecutor.java:182)
>         at hydra.MethExecutor.execute(MethExecutor.java:150)
>         at perffmwk.PerformanceStatistics.getStatisticsType(PerformanceStatistics.java:139)
>         at perffmwk.PerformanceStatistics.getInstance(PerformanceStatistics.java:125)
>         at perffmwk.PerformanceStatistics.getInstance(PerformanceStatistics.java:105)
>         at cacheperf.CachePerfStats.getInstance(CachePerfStats.java:216)
>         at cacheperf.CachePerfClient.openStatistics(CachePerfClient.java:965)
>         at cacheperf.CachePerfClient.openStatisticsTask(CachePerfClient.java:959)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at hydra.MethExecutor.execute(MethExecutor.java:182)
>         at hydra.MethExecutor.execute(MethExecutor.java:150)
>         at hydra.TestTask.execute(TestTask.java:192)
>         at hydra.RemoteTestModule$1.run(RemoteTestModule.java:212)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)