{"action":"created","issue":{"url":"https://api.github.com/repos/snowplow/snowplow/issues/1594","labels_url":"https://api.github.com/repos/snowplow/snowplow/issues/1594/labels{/name}","comments_url":"https://api.github.com/repos/snowplow/snowplow/issues/1594/comments","events_url":"https://api.github.com/repos/snowplow/snowplow/issues/1594/events","html_url":"https://github.com/snowplow/snowplow/pull/1594","id":67168606,"number":1594,"title":"Feature/role fix","user":{"login":"alexanderdean","id":200511,"avatar_url":"https://avatars.githubusercontent.com/u/200511?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderdean","html_url":"https://github.com/alexanderdean","followers_url":"https://api.github.com/users/alexanderdean/followers","following_url":"https://api.github.com/users/alexanderdean/following{/other_user}","gists_url":"https://api.github.com/users/alexanderdean/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderdean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderdean/subscriptions","organizations_url":"https://api.github.com/users/alexanderdean/orgs","repos_url":"https://api.github.com/users/alexanderdean/repos","events_url":"https://api.github.com/users/alexanderdean/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderdean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T16:31:37Z","updated_at":"2015-04-09T15:39:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/snowplow/snowplow/pulls/1594","html_url":"https://github.com/snowplow/snowplow/pull/1594","diff_url":"https://github.com/snowplow/snowplow/pull/1594.diff","patch_url":"https://github.com/snowplow/snowplow/pull/1594.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/snowplow/snowplow/issues/comments/91267145","html_url":"https://github.com/snowplow/snowplow/pull/1594#issuecomment-91267145","issue_url":"https://api.github.com/repos/snowplow/snowplow/issues/1594","id":91267145,"user":{"login":"falschparker82","id":670772,"avatar_url":"https://avatars.githubusercontent.com/u/670772?v=3","gravatar_id":"","url":"https://api.github.com/users/falschparker82","html_url":"https://github.com/falschparker82","followers_url":"https://api.github.com/users/falschparker82/followers","following_url":"https://api.github.com/users/falschparker82/following{/other_user}","gists_url":"https://api.github.com/users/falschparker82/gists{/gist_id}","starred_url":"https://api.github.com/users/falschparker82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falschparker82/subscriptions","organizations_url":"https://api.github.com/users/falschparker82/orgs","repos_url":"https://api.github.com/users/falschparker82/repos","events_url":"https://api.github.com/users/falschparker82/events{/privacy}","received_events_url":"https://api.github.com/users/falschparker82/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T15:39:21Z","updated_at":"2015-04-09T15:39:21Z","body":"For this branch, I'm getting an\r\n```\r\n~/snowplow/3-enrich/emr-etl-runner$ bundle exec bin/snowplow-emr-etl-runner --config config/config.yml --enrichments config/enrichments\r\n\r\n[2015-04-09T15:07:32.385625 #7454] FATAL -- : \r\n\r\nContractError (Contract violation for return value:\r\n    Expected: {:logging=>{:level=>String}, :aws=>{:access_key_id=>String, :secret_access_key=>String}, :s3=>{:region=>String, :buckets=>{:assets=>String, :log=>String, :raw=>{:in=>String, :processing=>String, :archive=>String}, :enriched=>{:good=>String, :bad=>String, :errors=>String or }, :shredded=>{:good=>String, :bad=>String, :errors=>String or }}}, :emr=>{:ami_version=>String, :region=>String, :service_role=>String, :placement=>String or , :ec2_subnet_id=>String or , :ec2_key_name=>String, :bootstrap=>an array of String, :software=>{:hbase=>String or , :lingual=>String or }, :jobflow=>{:master_instance_type=>String, :core_instance_count=>Contracts::Num, :core_instance_type=>String, :task_instance_count=>Contracts::Num, :task_instance_type=>String, :task_instance_bid=>Contracts::Num or }}, :etl=>{:job_name=>String, :versions=>{:hadoop_enrich=>String, :hadoop_shred=>String}, :collector_format=>String, :continue_on_unexpected_error=>Contracts::Bool}, :iglu=>{:schema=>String, :data=>{:cache_size=>Contracts::Num, :repositories=>an array of {:name=>String, :priority=>Contracts::Num, :vendor_prefixes=>an array of String, :connection=>{:http=>{:uri=>String}}}}}},\r\n    Actual: {:logging=>{:level=>\"DEBUG\"}, :aws=>{:access_key_id=>\"AKIAIOVAVM4J6EDQ6FSA\", :secret_access_key=>\"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\"}, :s3=>{:region=>\"eu-west-1\", :buckets=>{:assets=>\"s3://snowplow-hosted-assets\", :log=>\"s3://mc-snowplow-etl/logs\", :raw=>{:in=>\"s3://mc-snowplow-logs\", :processing=>\"s3://mc-snowplow-logs/processing\", :archive=>\"s3://mc-snowplow-archive/raw\"}, :enriched=>{:good=>\"s3://mc-snowplow-logs-out/enriched/good\", :bad=>\"s3://mc-snowplow-logs-out/enriched/bad\"}, :shredded=>{:good=>\"s3://mc-snowplow-logs-out/shredded/good\", :bad=>\"s3://mc-snowplow-logs-out/shredded/bad\"}}}, :emr=>{:ami_version=>\"2.4.11\", :region=>\"eu-west-1\", :ec2_subnet_id=>\"subnet-923f9acb\", :ec2_key_name=>\"snowplow\", :bootstrap=>[], :software=>{:hbase=>nil, :lingual=>nil}, :jobflow=>{:master_instance_type=>\"m1.small\", :core_instance_count=>2, :core_instance_type=>\"m1.small\", :task_instance_count=>0, :task_instance_type=>\"m1.small\"}}, :etl=>{:job_name=>\"Snowplow ETL\", :versions=>{:hadoop_enrich=>\"0.14.0\", :hadoop_shred=>\"0.4.0\"}, :collector_format=>\"cloudfront\", :continue_on_unexpected_error=>false}, :iglu=>{:schema=>\"iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0\", :data=>{:cache_size=>500, :repositories=>[{:name=>\"Iglu Central\", :priority=>0, :vendor_prefixes=>[\"com.snowplowanalytics\"], :connection=>{:http=>{:uri=>\"http://iglucentral.com\"}}}]}}}\r\n    Value guarded in: Snowplow::EmrEtlRunner::Cli::load_file\r\n    With Contract: Maybe, String => Hash\r\n    At: /home/ubuntu/snowplow/3-enrich/emr-etl-runner/lib/snowplow-emr-etl-runner/cli.rb:123 ):\r\n    /home/ubuntu/snowplow/3-enrich/emr-etl-runner/vendor/bundle/ruby/1.9.1/gems/contracts-0.7/lib/contracts.rb:69:in `block in <class:Contract>'\r\n    /home/ubuntu/snowplow/3-enrich/emr-etl-runner/vendor/bundle/ruby/1.9.1/gems/contracts-0.7/lib/contracts.rb:147:in `call'\r\n    /home/ubuntu/snowplow/3-enrich/emr-etl-runner/vendor/bundle/ruby/1.9.1/gems/contracts-0.7/lib/contracts.rb:147:in `failure_callback'\r\n    /home/ubuntu/snowplow/3-enrich/emr-etl-runner/vendor/bundle/ruby/1.9.1/gems/contracts-0.7/lib/contracts/decorators.rb:164:in `rescue in block in common_method_added'\r\n    /home/ubuntu/snowplow/3-enrich/emr-etl-runner/vendor/bundle/ruby/1.9.1/gems/contracts-0.7/lib/contracts/decorators.rb:157:in `block in common_method_added'\r\n    bin/snowplow-emr-etl-runner:37:in `<main>'\r\n```\r\n"}}