我试图将我的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...
因此,由于我没有初始化任何重要的东西(任何表/k空格和东西),所以我做了:
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
JDK 1.7.0_45中的一个错误。 您必须升级您的 JDK。
参见 类 JavaLaunchHelper 在两者中都实现了。将使用两者之一。哪一个是未定义的