【问题标题】:Problems with updating cassandra database and java problems更新cassandra数据库的问题和java问题
【发布时间】:2014-04-05 13:23:04
【问题描述】:

我试图将我的cassandra 1.2.13 升级到cassandra 2.0.5,但我遇到了一些问题。我按照这里的说明进行操作:

https://github.com/apache/cassandra/blob/trunk/NEWS.txt

上面写着:

    2.0.5
    =====
...
    Upgrading
    ---------
        - If your cluster began on a version before 1.2, check that your secondary
          index SSTables are on version 'ic' before upgrading.  If not, run
          'nodetool upgradesstables' if on 1.2.14 or later, or run 'nodetool
          upgradesstables ks cf' with the keyspace and secondary index named
          explicitly otherwise...

因此,由于我没有初始化任何重要的东西(任何表/kspaces 和其他东西),所以我做了:

nodetool upgradesstables

但是,当我执行该命令时,会向我抛出以下错误:

objc[88756]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.

我尝试在谷歌上搜索该错误,但仍不确定如何继续。有人知道如何在不破坏 Java 环境的情况下解决这个问题吗?

我有一个 MAC OS X 10.9.1

【问题讨论】:

    标签: java cassandra


    【解决方案1】:

    这是 JDK 1.7.0_45 中的一个错误。你必须升级你的jdk。

    另见Class JavaLaunchHelper is implemented in both. One of the two will be used. Which one is undefined

    【讨论】:

    • 如何升级你的jdk?
    • 我安装了新的_51,但我仍然遇到同样的问题。我如何卸载这个或你建议做什么?我不明白你发布的答案/链接。
    猜你喜欢
    • 2018-08-03
    • 2011-12-03
    • 2015-11-25
    • 2017-06-16
    • 1970-01-01
    • 2020-04-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多