【问题标题】:Lagom embedded CassandraLagom 嵌入式 Cassandra
【发布时间】:2018-05-23 04:34:45
【问题描述】:

运行sbt runAll 会产生以下结果:

[info] Starting Cassandra
.
[info] Cassandra server is not yet started.
[info] 
[info] The value assigned to
[info] `lagomCassandraMaxBootWaitingTime`
[info] is either too short, or this may indicate another
[info] process is already running on port 4000

端口 4000 上没有运行。我尝试配置不同的端口,但消息仍然存在(使用不同的端口)。
默认情况下,20 秒就足够了,我强烈怀疑这是问题所在。

不知道如何调试此问题或可能导致此问题的原因。
我意识到我可以运行本地 Cassandra 服务器,但我希望让它工作。
有什么建议么?

【问题讨论】:

    标签: cassandra lagom


    【解决方案1】:

    事实证明,增加超时实际上如文档中所述:

    import scala.concurrent.duration._ // Mind that the import is needed.
    lagomCassandraMaxBootWaitingTime in ThisBuild := 50000.seconds
    

    这可能是我的电脑的问题,构建速度非常慢。
    我将对此进行进一步调查。

    【讨论】:

      猜你喜欢
      • 2018-05-18
      • 1970-01-01
      • 2018-03-08
      • 2017-09-15
      • 1970-01-01
      • 2020-09-18
      • 2017-07-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多