我试图将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
答案 0 :(得分:1)
这是JDK 1.7.0_45中的一个错误。你必须升级你的jdk。
另见Class JavaLaunchHelper is implemented in both. One of the two will be used. Which one is undefined