geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinmei Liao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2076) --locators option on start server is broken when specifying an embedded locator
Date Tue, 15 Nov 2016 20:36:58 GMT

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

Jinmei Liao commented on GEODE-2076:
------------------------------------

Must be you are using an older version of gfsh. I'll close this for now.

> --locators option on start server is broken when specifying an embedded locator
> -------------------------------------------------------------------------------
>
>                 Key: GEODE-2076
>                 URL: https://issues.apache.org/jira/browse/GEODE-2076
>             Project: Geode
>          Issue Type: Bug
>          Components: configuration
>            Reporter: Diane Hardman
>            Assignee: Jinmei Liao
>             Fix For: 1.1.0-incubating
>
>
> This is a follow-on bug from comments in GEODE-1986 from John Blum.
> "2. Second, the --locators option on start server is broken, hence the reason I specified
--server-port for both servers on start to avoid bind Exceptions and used the --J option to
specify the embedded Locator of "Server1" with the gemfire.locators System property when starting
"Server2".
> Otherwise, "Server2" starts in standalone mode!"
> Steps to reproduce:
> gfsh>start server --name=Server1 --log-level=config --locators=localhost[10334]
> Starting a Geode Server in /Users/dhardman/test/Server1...
> The Cache Server process terminated unexpectedly with exit status 1. Please refer to
the log file in /Users/dhardman/test/Server1 for full details.
> objc[9851]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/bin/java
and /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
> Exception in thread "main" org.apache.geode.GemFireConfigException: Unable to join the
distributed system.  Operation either timed out, was stopped or Locator does not exist.
>     at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.join(GMSMembershipManager.java:659)
>     at org.apache.geode.distributed.internal.membership.gms.mgr.GMSMembershipManager.joinDistributedSystem(GMSMembershipManager.java:745)
>     at org.apache.geode.distributed.internal.membership.gms.Services.start(Services.java:181)
>     at org.apache.geode.distributed.internal.membership.gms.GMSMemberFactory.newMembershipManager(GMSMemberFactory.java:102)
>     at org.apache.geode.distributed.internal.membership.MemberFactory.newMembershipManager(MemberFactory.java:89)
>     at org.apache.geode.distributed.internal.DistributionManager.<init>(DistributionManager.java:1112)
>     at org.apache.geode.distributed.internal.DistributionManager.<init>(DistributionManager.java:1160)
>     at org.apache.geode.distributed.internal.DistributionManager.create(DistributionManager.java:531)
>     at org.apache.geode.distributed.internal.InternalDistributedSystem.initialize(InternalDistributedSystem.java:683)
>     at org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:297)
>     at org.apache.geode.distributed.DistributedSystem.connect(DistributedSystem.java:202)
>     at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:216)
>     at org.apache.geode.distributed.internal.DefaultServerLauncherCacheProvider.createCache(DefaultServerLauncherCacheProvider.java:52)
>     at org.apache.geode.distributed.ServerLauncher.createCache(ServerLauncher.java:857)
>     at org.apache.geode.distributed.ServerLauncher.start(ServerLauncher.java:769)
>     at org.apache.geode.distributed.ServerLauncher.run(ServerLauncher.java:696)
>     at org.apache.geode.distributed.ServerLauncher.main(ServerLauncher.java:228)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message