gotime/cassandra_object — Issue #7: Initial Thrift Connection Consistently Fails
Author: ddkothari
Created: 2011-11-15 08:04:12+00:00
State: open

ddkothari@ip-10-243-77-143:/srv/place_directory/current$ sudo -u nobody RAILS_ENV=qa_stress2 bin/rake infogroup:import_places FILENAME=/infogroup/places.xml.1 --trace
/srv/place_directory/shared/vendor_bundle/ruby/1.9.1/gems/aws-2.5.3/lib/awsbase/awsbase.rb:58: warning: already initialized constant AMAZON_PROBLEMS
/srv/place_directory/shared/vendor_bundle/ruby/1.9.1/gems/aws-2.5.3/lib/awsbase/awsbase.rb:86: warning: already initialized constant DEFAULT_SIGNATURE_VERSION
** Invoke infogroup:import_places (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute infogroup:import_places
PARSING => /infogroup/places.xml.1
rake aborted!

/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/thrift-0.7.0/lib/thrift/transport/socket.rb:53:in `rescue in open'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/thrift-0.7.0/lib/thrift/transport/socket.rb:36:in `open'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/thrift-0.7.0/lib/thrift/transport/framed_transport.rb:37:in `open'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/thrift_client-0.7.1/lib/thrift_client/connection/socket.rb:11:in `connect!'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/thrift_client-0.7.1/lib/thrift_client/abstract_thrift_client.rb:105:in `connect!'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/thrift_client-0.7.1/lib/thrift_client/abstract_thrift_client.rb:144:in `handled_proxy'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/thrift_client-0.7.1/lib/thrift_client/abstract_thrift_client.rb:60:in `describe_ring'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/bundler/gems/cassandra-9cbd4416db75/lib/cassandra/cassandra.rb:1058:in `all_nodes'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/bundler/gems/cassandra-9cbd4416db75/lib/cassandra/cassandra.rb:1043:in `reconnect!'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/bundler/gems/cassandra-9cbd4416db75/lib/cassandra/cassandra.rb:1037:in `client'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/bundler/gems/cassandra-9cbd4416db75/lib/cassandra/cassandra.rb:177:in `schema'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/bundler/gems/cassandra-9cbd4416db75/lib/cassandra/cassandra.rb:843:in `batch'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/gotime-cassandra_object-2.8.3/lib/cassandra_object/batches.rb:31:in `batch'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/lib/infogroup_import/place_root_element.rb:37:in `flush_batch'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/lib/infogroup_import/place_root_element.rb:29:in `block in '
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/saxaphone-0.4.0/lib/saxaphone/element.rb:181:in `instance_exec'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/saxaphone-0.4.0/lib/saxaphone/element.rb:181:in `add_element'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/saxaphone-0.4.0/lib/saxaphone/document.rb:31:in `end_element'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/sax/document.rb:127:in `end_element_namespace'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/sax/parser.rb:93:in `parse_with'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/sax/parser.rb:93:in `parse_io'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/sax/parser.rb:81:in `parse'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/saxaphone-0.4.0/lib/saxaphone/document.rb:9:in `parse'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/saxaphone-0.4.0/lib/saxaphone/element.rb:159:in `parse'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/lib/tasks/infogroup.rake:10:in `block (3 levels) in '
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/lib/tasks/infogroup.rake:9:in `open'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/lib/tasks/infogroup.rake:9:in `block (2 levels) in '
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/srv/place_directory/releases/d31a6e2eef462b2488ca0626e48a5560b18e1437/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `'
bin/rake:16:in `load'
bin/rake:16:in `

'
Tasks: TOP => infogroup:import_places