2
我正在使用Jruby連接Cassandra和紅寶石。我正在開發一個代碼,它必須與Rails中的cassandra進行交互。我已經配置並安裝了jruby。我也爲cassandra和jruby的所有依賴做了「導入」。運行文件時遇到問題。我得到這樣的錯誤。JRuby Cassandra問題
============================================== ====================================
org/apache/thrift/transport/TIOStreamTransport.java:132:in `read': org.apache.thrift.transport.TTransportException: null (NativeException)
from org/apache/thrift/transport/TTransport.java:84:in `readAll'
from org/apache/thrift/protocol/TBinaryProtocol.java:378:in `readAll'
from org/apache/thrift/protocol/TBinaryProtocol.java:297:in `readI32'
from org/apache/thrift/protocol/TBinaryProtocol.java:204:in `readMessageBegin'
from org/apache/cassandra/thrift/Cassandra.java:1062:in `recv_describe_cluster_name'
from org/apache/cassandra/thrift/Cassandra.java:1048:in `describe_cluster_name'
from sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0'
from sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke'
... 13 levels...
from org/jruby/Main.java:203:in `run'
from org/jruby/Main.java:100:in `run'
from org/jruby/Main.java:84:in `main'
======= ================================================== =====================
任何人都可以幫助我解決這個問題嗎?