【问题标题】:gemfire start locator takes too longgemfire 启动定位器耗时太长
【发布时间】:2018-08-19 02:03:56
【问题描述】:

我在我的 Ubuntu 17.10 中安装了 gemfire,使用 java 版本“1.8.0_161”,我正在尝试使用 gfsh 启动定位器。

start locator --name=locator1

之后它向我显示以下消息:

Starting a Geode Locator in /home/john/projetos/my_gemfire/locator1...

它开始打印点、线和点线:

......................................................................

我跑了一次,几个小时后它仍在打印点。它不会发出任何错误消息,它只会继续打印点。

我看过一个关于它的教程视频,在那里真正启动定位器只需要几秒钟。

那么,任何人都可以给出一个想法,我该如何解决这个问题?

【问题讨论】:

  • verbose之类的选项吗?
  • 在启动过程中很明显有些东西卡住了...这是哪个 GemFire 版本?,您在定位器的日志中看到任何奇怪的消息吗?线程转储呢?你有没有拿几个来看看每个线程在做什么?。

标签: java-8 gemfire ubuntu-17.10 gfsh


【解决方案1】:

我在 Ubuntu 16.04.4 上使用 Apache Geode 1.5 和 open-jdk-9 时遇到了同样的问题。

我发现定位器已经启动,因为我可以连接到它。

Ctrl+C 打破等待,然后使用connect 命令连接到定位器。

dz@dz-ubuntu-16:~/my_geode$ gfsh _________________________ __ / _____/ ______/ ______/ /____/ / / / __/ /___ /_____ / _____ / / /__/ / ____/ _____/ / / / / /______/_/ /______/_/ /_/ 1.5.0 监控和管理 Apache Geode gfsh>启动定位器 --name=locator1 在 /home/dz/my_geode/locator1 中启动 Geode 定位器... ..................................................... ..................................................... .................................................. 打破等待...定位器进程将继续在后台启动。 gfsh>连接 在 [host=localhost, port=10334] 连接到定位器 .. 在 [host=192.168.2.168, port=1099] 连接到 Manager .. 成功连接到:[host=192.168.2.168, port=1099] gfsh>启动脉冲 推出 Geode Pulse

其实你的定位器已经启动成功了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-06-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多