【发布时间】: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
【问题讨论】: