我已經在具有服務器的centos 7.安裝卡桑德拉3.0.9嘗試與執行以下命令卡桑德拉應力卡桑德拉-應力與
卡桑德拉應力混合的N = 2000000 -POP SEQ = 1的錯誤停止..2000000 -rate螺紋= 2000 -node 10.10.0.1
它開始執行根據命令,但有時後開始給予錯誤象下面
com.datastax.drivers.core.exceptions。諾霍stAvailableExcception:查詢失敗的所有主機(嘗試:10.10.0.1/10.10.0.1:9042(com.datastax.driver.core.exceptions.TransportException:[10.10.0.1/10.10.0.1]連接已關閉))
和有時會錯誤象下面
java.io.IOException的:上鍵(一個或多個)操作X0 [35353538363236373030]:返回的數據不被驗證
at org.apache.cassandra.stress.Operation.error(Operation.java:135)
at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:113)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:98)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:106)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:258)
at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:321)
java.io.IOException的:鍵上的操作x0 [4c364c39375032333431]:返回的數據未驗證
at org.apache.cassandra.stress.Operation.error(Operation.java:135)
at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:113)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:98)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:106)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:258)
at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:321)
java.io.IOException的:上鍵(s)實施4b364e504c4b4c314e30]操作X0:數據返回不被驗證
at org.apache.cassandra.stress.Operation.error(Operation.java:135)
at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:113)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:98)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:106)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:258)
at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:321)
java.io.IOException的:上鍵(s)實施3435504d3135374b3031操作X0 ]:返回的數據不被驗證
at org.apache.cassandra.stress.Operation.error(Operation.java:135)
at org.apache.cassandra.stress.Operation.timeWithRetry(Operation.java:113)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:98)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:106)
at org.apache.cassandra.stress.operations.predefined.CqlOperation.run(CqlOperation.java:258)
at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:321)
java.io.IOException的:上鍵(s)實施303936354c5033343130]操作X0:數據返回不被驗證
謝謝
也已經完成,但在執行混合 –
寫已經完成閱讀已經比開始甚至混合進行的命令的問題是相同的與減少線程直到100即使得到那個錯誤 –
請查看[這篇文章](http://stackoverflow.com/questions/18724334/cant-connect-to-cassandra-nohostavailableexception)的NoHostAvailableException。說明一下,在運行混合命令時,只有在運行寫入/讀取命令時,纔會看到'java.io.IOException:操作x0鍵(s)'異常? – csplinter