You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anton Mironenko (JIRA)" <ji...@apache.org> on 2017/06/08 15:21:18 UTC

[jira] [Created] (GEODE-3053) gfsh hangs when starting locator

Anton Mironenko created GEODE-3053:
--------------------------------------

             Summary: gfsh hangs when starting locator
                 Key: GEODE-3053
                 URL: https://issues.apache.org/jira/browse/GEODE-3053
             Project: Geode
          Issue Type: Bug
          Components: gfsh, locator
            Reporter: Anton Mironenko


Sometimes when a locator is started via gfsh, gfsh hangs forever.
This happens on Geode 1.1.1 (not sure about 1.2 and 1.3, probably the same issue is there).

Here are the instructions how to reproduce.

Test preparation:
---------------------
Here are two attached zip files - "20170608-host1-gfsh-hangs.zip" and "20170608-host2-gfsh-hangs"
1) unzip "20170608-host1-gfsh-hangs.zip" into some folder on your first host
2) in start-locator.sh change the IPs of locators to the values of your host1 and host2
"--locators=10.50.3.38[20236],10.50.3.14[20236]"
3) do the bullets 1)-2) for host2, the folder where you unzip the file should be the same as on the first host

Test running:
---------------
1) rm -rf
{locator0,server1}

2) run ./restart-cycle.sh on host1, then on host2. 
3) observe this test running until you see a lot of dots in the shell, which means the gfsh hanged. Usually it takes not more than 10 minutes.

Here is also the stack trace of hanged gfsh (java process org.apache.geode.management.internal.cli.Launcher), see attached "gfsh-26286-jstack"



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