Steve Blackmon created STREAMS-561: -------------------------------------- Summary: Crash annotating twitter via CLI Key: STREAMS-561 URL: https://issues.apache.org/jira/browse/STREAMS-561 Project: Streams Issue Type: Improvement Reporter: Steve Blackmon Assignee: Steve Blackmon
INFO cassandra_helper.rb:227#block-in-retrieve_from_cassandra: thread=otr2hefwk, duration=0.005496199242770672, action=cassandra, Fetched 1 profiles by ID from Cassandra {"_index"=>"pdb_20170306", "_type"=>"profile", "_id"=>"twitter:24919430", "_version"=>2, "_shards"=>{"total"=>2, "successful"=>2, "failed"=>0}} Known field values for 1449635688 (https://twitter.com/1069TheLight): 1: enrichments.account_type = organization 2: enrichments.demographics.birthyear = 3: enrichments.demographics.gender = 4: enrichments.demographics.race = 5: location = 6: enrichments.extended.occupation = 7: enrichments.adult = false 8: enrichments.spam = false 9: handle = 1069TheLight press the numerical value of the field you would like to annotate, or press DONE to be done annotating: 5 what should location actually be? Asheville, NC Known field values for 1449635688 (https://twitter.com/1069TheLight): 1: enrichments.account_type = organization 2: enrichments.demographics.birthyear = 3: enrichments.demographics.gender = 4: enrichments.demographics.race = 5: location = Asheville, NC 6: enrichments.extended.occupation = 7: enrichments.adult = false 8: enrichments.spam = false 9: handle = 1069TheLight press the numerical value of the field you would like to annotate, or press DONE to be done annotating: done {"_index"=>"pdb_20170306", "_type"=>"profile", "_id"=>"twitter:1449635688", "_version"=>2, "_shards"=>{"total"=>2, "successful"=>2, "failed"=>0}} INFO client.rb:35#send_event: Sending event e862e7171b094cb8a30f54a0bdfb0efd to Sentry rake aborted! NoMethodError: undefined method `[]' for nil:NilClass /app/lib/tasks/bulk_reporting.rake:112:in `get_generic_result' /app/lib/tasks/bulk_reporting.rake:137:in `block (3 levels) in <top (required)>' /app/lib/tasks/bulk_reporting.rake:136:in `each' /app/lib/tasks/bulk_reporting.rake:136:in `block (2 levels) in <top (required)>' /app/lib/tasks/bulk_reporting.rake:121:in `block (2 levels) in <top (required)>' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors' /app/vendor/bundle/ruby/2.3.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>' /app/bin/bundle:3:in `load' /app/bin/bundle:3:in `<main>' Tasks: TOP => bulk_reporting:annotate (See full trace by running task with --trace) Steves-MacBook-Pro-3:~ sblackmon$ -- This message was sent by Atlassian JIRA (v6.4.14#64029)