{"action":"created","issue":{"url":"https://api.github.com/repos/snowch/biginsight-examples/issues/28","repository_url":"https://api.github.com/repos/snowch/biginsight-examples","labels_url":"https://api.github.com/repos/snowch/biginsight-examples/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/snowch/biginsight-examples/issues/28/comments","events_url":"https://api.github.com/repos/snowch/biginsight-examples/issues/28/events","html_url":"https://github.com/snowch/biginsight-examples/issues/28","id":149183849,"number":28,"title":"Export to swift using spark fails -> AttributeError: 'SparkContext' object has no attribute 'hadoopConfiguration'","user":{"login":"snowch","id":147713,"avatar_url":"https://avatars.githubusercontent.com/u/147713?v=3","gravatar_id":"","url":"https://api.github.com/users/snowch","html_url":"https://github.com/snowch","followers_url":"https://api.github.com/users/snowch/followers","following_url":"https://api.github.com/users/snowch/following{/other_user}","gists_url":"https://api.github.com/users/snowch/gists{/gist_id}","starred_url":"https://api.github.com/users/snowch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowch/subscriptions","organizations_url":"https://api.github.com/users/snowch/orgs","repos_url":"https://api.github.com/users/snowch/repos","events_url":"https://api.github.com/users/snowch/events{/privacy}","received_events_url":"https://api.github.com/users/snowch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snowch/biginsight-examples/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-18T15:24:33Z","updated_at":"2016-04-18T15:56:43Z","closed_at":"2016-04-18T15:56:43Z","body":"The project [SwiftPushWithSpark](https://github.com/snowch/biginsight-examples/tree/master/examples/SwiftPushWithSpark) is failing with:\r\n\r\n```\r\nAttributeError: 'SparkContext' object has no attribute 'hadoopConfiguration'\r\n```\r\nThe pyspark command is:\r\n\r\n```\r\npyspark --jars \"test-1460992369091/SwiftPushWithSpark-all.jar\" test-1460992369091/exporttoswift.py '***' '***' '***' 'object_storage_wc' '1460992369091'\r\n```\r\n\r\nThe jar file contents are:  [SwiftPushWithSpark-all.txt](https://github.com/snowch/biginsight-examples/files/224070/SwiftPushWithSpark-all.txt)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/snowch/biginsight-examples/issues/comments/211444082","html_url":"https://github.com/snowch/biginsight-examples/issues/28#issuecomment-211444082","issue_url":"https://api.github.com/repos/snowch/biginsight-examples/issues/28","id":211444082,"user":{"login":"snowch","id":147713,"avatar_url":"https://avatars.githubusercontent.com/u/147713?v=3","gravatar_id":"","url":"https://api.github.com/users/snowch","html_url":"https://github.com/snowch","followers_url":"https://api.github.com/users/snowch/followers","following_url":"https://api.github.com/users/snowch/following{/other_user}","gists_url":"https://api.github.com/users/snowch/gists{/gist_id}","starred_url":"https://api.github.com/users/snowch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowch/subscriptions","organizations_url":"https://api.github.com/users/snowch/orgs","repos_url":"https://api.github.com/users/snowch/repos","events_url":"https://api.github.com/users/snowch/events{/privacy}","received_events_url":"https://api.github.com/users/snowch/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T15:56:43Z","updated_at":"2016-04-18T15:56:43Z","body":"This is required from python:\r\n```\r\nsc._jsc.hadoopConfiguration().set('my.mapreduce.setting', 'someVal')\r\n```"}}