$ irb
>> require "lib/cassandra/0.7"
=> true
>> client = Cassandra.new('system', '127.0.0.1:9160')
=> #<Cassandra:2160486220, @keyspace="system", @schema={},
@servers=["127.0.0.1:9160"]>
>> client.keyspaces
=> ["system"]
>> client.partitioner
=> "org.apache.cassandra.dht.RandomPartitioner"
>>

On Mon, Aug 16, 2010 at 5:46 PM, Mark <static.void....@gmail.com> wrote:
>  On 8/16/10 3:58 PM, Benjamin Black wrote:
>>
>> If you pulled before a couple hours ago and did not use the 'trunk'
>> branch, then you don't have current code.  I merged the trunk branch
>> to master earlier today and sent a pull request for the fauna repo to
>> get the changes, as well.  Also fixed a bug another user found when
>> running with Ruby 1.9.
>>
>> Summary: pull again, use master, have fun.  If it still doesn't work,
>> please open an issue to me.
>>
>>
>> b
>>
>> On Mon, Aug 16, 2010 at 2:13 PM, Mark<static.void....@gmail.com>  wrote:
>>>
>>> Just upgraded my cassandra gem today to b/cassandra fork and noticed that
>>> the transport changed. I re-enabled TFramedTransport in cassandra.yml but
>>> my
>>> client no longer works. I keep receiving the following error.
>>>
>>> Thrift::ApplicationException: describe_keyspace failed: unknown result
>>>    from
>>>
>>> workspace/vendor/plugins/cassandra/lib/../vendor/0.7/gen-rb/cassandra.rb:346:in
>>> `recv_describe_keyspace'
>>>    from
>>>
>>> workspace/vendor/plugins/cassandra/lib/../vendor/0.7/gen-rb/cassandra.rb:335:in
>>> `describe_keyspace'
>>>    from
>>>
>>> workspace/vendor/plugins/thrift_client/lib/thrift_client/abstract_thrift_client.rb:67:in
>>> `send'
>>>    from
>>>
>>> workspace/vendor/plugins/thrift_client/lib/thrift_client/abstract_thrift_client.rb:67:in
>>> `send_rpc'
>>>    from
>>>
>>> workspace/vendor/plugins/thrift_client/lib/thrift_client/abstract_thrift_client.rb:164:in
>>> `send_rpc'
>>>    from
>>>
>>> workspace/vendor/plugins/thrift_client/lib/thrift_client/abstract_thrift_client.rb:63:in
>>> `proxy'
>>>    from
>>>
>>> workspace/vendor/plugins/thrift_client/lib/thrift_client/abstract_thrift_client.rb:154:in
>>> `proxy'
>>>    from
>>>
>>> workspace/vendor/plugins/thrift_client/lib/thrift_client/abstract_thrift_client.rb:53:in
>>> `handled_proxy'
>>>    from
>>>
>>> workspace/vendor/plugins/thrift_client/lib/thrift_client/abstract_thrift_client.rb:150:in
>>> `handled_proxy'
>>>    from
>>>
>>> workspace/vendor/plugins/thrift_client/lib/thrift_client/abstract_thrift_client.rb:23:in
>>> `describe_keyspace'
>>>    from (irb):14
>>>
>>> Any clues?
>>>
> Still getting the same error. describe_keyspaces doesnt work. Does it work
> for you?
>
> I am using:
>
> apache-cassandra-0.7.0-beta1-bin,
> thrift (0.2.0.4)
> thrift_client (0.4.6)
>
> Any clue? Thanks!
>
>

Reply via email to