【问题标题】:How do I get a specific version of Cassandra in Embedded-Cassandra如何在 Embedded-Cassandra 中获取特定版本的 Cassandra
【发布时间】:2019-05-17 15:15:21
【问题描述】:

Embedded-Cassandra (https://github.com/nosan/embedded-cassandra/wiki) 中,默认版本似乎是 3.11.4。我想使用 3.11.3。我尝试设置版本但出现错误

val factory = new LocalCassandraFactory
      println(s"factory is ${factory}")
      factory.setVersion(("3.11.1"))

...

错误

WARN c.g.n.e.c.l.a.RemoteArtifact - HTTP (404 Not Found) status for URL 'http://www.mirrorservice.org/sites/ftp.apache.org/cassandra/3.11.3/apache-cassandra-3.11.3-bin.tar.gz'

确实,版本不存在 http://www.mirrorservice.org/sites/ftp.apache.org/cassandra/

如何在 EmbeddedCassandra 中使用特定版本的 Cassandra

【问题讨论】:

    标签: cassandra-3.0


    【解决方案1】:

    您收到异常还是仅收到警告消息? RemoteArtifact 尝试从多个 URL 下载档案。

    第二个链接对我来说很好。

    https://archive.apache.org/dist/cassandra/3.11.3/apache-cassandra-3.11.3-bin.tar.gz

    【讨论】:

    • 只是一个警告。你是说embedded-cassandra 可能正在尝试更多的回购吗?我看到警告并认为它不起作用
    • 你是对的。虽然我收到了警告,但我想要的版本是使用另一个 repo 下载的。
    • @Dymtro - 我是嵌入式 cassandra 的新手,我被卡住了。你能看看stackoverflow.com/questions/56181569/…
    • 诺桑 - 我需要你的帮助。我已经打开了这个问题。请你看一下 - stackoverflow.com/questions/57610622/…
    猜你喜欢
    • 1970-01-01
    • 2020-10-26
    • 2021-01-01
    • 2017-04-17
    • 2015-03-05
    • 2015-06-03
    • 2019-03-23
    • 1970-01-01
    • 2018-03-01
    相关资源
    最近更新 更多