I'm trying to connect to Cassandra from a Ruby script. I'm using rvm, and made a clean install of Ruby 1.9.2 and then did "gem install cassandra". When I run a script that just contains "require 'cassandra/0.7'", I get the output below. Any suggestion on what I need to do to get rid of these warnings?
/Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/server/nonblocking_server.rb:80: warning: `&' interpreted as argument prefix /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old skip /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:235: warning: previous definition of skip was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_message_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:57: warning: previous definition of write_message_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_struct_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:59: warning: previous definition of write_struct_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_struct_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:63: warning: previous definition of write_struct_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_field_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:69: warning: previous definition of write_field_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_map_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:79: warning: previous definition of write_map_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_list_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:85: warning: previous definition of write_list_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_set_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:91: warning: previous definition of write_set_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_message_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:125: warning: previous definition of read_message_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_struct_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:127: warning: previous definition of read_struct_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_struct_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:131: warning: previous definition of read_struct_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_field_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:137: warning: previous definition of read_field_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_map_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:143: warning: previous definition of read_map_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_list_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:149: warning: previous definition of read_list_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_set_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:155: warning: previous definition of read_set_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old native? /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/base_protocol.rb:48: warning: previous definition of native? was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/struct.rb:95: warning: previous definition of write was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/struct.rb:83: warning: previous definition of read was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/union.rb:69: warning: previous definition of write was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/union.rb:56: warning: previous definition of read was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_message_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:103: warning: previous definition of write_message_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_field_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:121: warning: previous definition of write_field_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_field_stop /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:156: warning: previous definition of write_field_stop was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_map_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:160: warning: previous definition of write_map_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_list_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:169: warning: previous definition of write_list_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_set_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:173: warning: previous definition of write_set_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_byte /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:189: warning: previous definition of write_byte was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_bool /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:177: warning: previous definition of write_bool was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_i16 /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:193: warning: previous definition of write_i16 was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_i32 /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:197: warning: previous definition of write_i32 was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_i64 /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:201: warning: previous definition of write_i64 was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_double /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:205: warning: previous definition of write_double was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_string /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:209: warning: previous definition of write_string was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_struct_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:111: warning: previous definition of write_struct_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write_struct_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:116: warning: previous definition of write_struct_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_message_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:214: warning: previous definition of read_message_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_field_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:242: warning: previous definition of read_field_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_map_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:274: warning: previous definition of read_map_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_list_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:280: warning: previous definition of read_list_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_set_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:290: warning: previous definition of read_set_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_byte /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:304: warning: previous definition of read_byte was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_bool /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:294: warning: previous definition of read_bool was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_i16 /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:313: warning: previous definition of read_i16 was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_i32 /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:317: warning: previous definition of read_i32 was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_i64 /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:321: warning: previous definition of read_i64 was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_double /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:325: warning: previous definition of read_double was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_string /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:331: warning: previous definition of read_string was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_struct_begin /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:232: warning: previous definition of read_struct_begin was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read_struct_end /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/protocol/compact_protocol.rb:237: warning: previous definition of read_struct_end was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old write /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/transport/memory_buffer_transport.rb:73: warning: previous definition of write was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift_native.bundle: warning: method redefined; discarding old read /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/thrift-0.5.0/lib/thrift/transport/memory_buffer_transport.rb:59: warning: previous definition of read was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/vendor/0.7/gen-rb/cassandra_types.rb:679: warning: mismatched indentations at 'end' with 'module' at 8 /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/vendor/0.7/gen-rb/cassandra_constants.rb:12: warning: mismatched indentations at 'end' with 'module' at 9 /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/time.rb:3: warning: method redefined; discarding old stamp /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/simple_uuid-0.1.2/lib/simple_uuid.rb:2: warning: previous definition of stamp was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/time.rb:7: warning: method redefined; discarding old stamp /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/simple_uuid-0.1.2/lib/simple_uuid.rb:6: warning: previous definition of stamp was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/columns.rb:19: warning: shadowing outer local variable - cfdef /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/columns.rb:6: warning: method redefined; discarding old is_super /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/columns.rb:7: warning: previous definition of is_super was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/columns.rb:10: warning: method redefined; discarding old column_name_class /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/columns.rb:11: warning: previous definition of column_name_class was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/columns.rb:14: warning: method redefined; discarding old sub_column_name_class /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/columns.rb:15: warning: previous definition of sub_column_name_class was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/columns.rb:18: warning: method redefined; discarding old column_family_property /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/columns.rb:30: warning: previous definition of column_family_property was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/cassandra.rb:7: warning: method redefined; discarding old login! /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/cassandra.rb:97: warning: previous definition of login! was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/cassandra.rb:13: warning: method redefined; discarding old inspect /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/cassandra.rb:103: warning: previous definition of inspect was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/cassandra.rb:24: warning: method redefined; discarding old keyspaces /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/cassandra.rb:93: warning: previous definition of keyspaces was here /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/cassandra.rb:28: warning: method redefined; discarding old schema /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/0.7/cassandra.rb:167: warning: method redefined; discarding old batch /Users/admin/.rvm/gems/ruby-1.9.2-p180/gems/cassandra-0.9.1/lib/cassandra/cassandra.rb:250: warning: previous definition of batch was here -- Mark Lilback West Virginia University Department of Statistics mlilb...@stat.wvu.edu