{"action":"opened","issue":{"url":"https://api.github.com/repos/qadium-memex/CommonCrawlJob/issues/4","repository_url":"https://api.github.com/repos/qadium-memex/CommonCrawlJob","labels_url":"https://api.github.com/repos/qadium-memex/CommonCrawlJob/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/qadium-memex/CommonCrawlJob/issues/4/comments","events_url":"https://api.github.com/repos/qadium-memex/CommonCrawlJob/issues/4/events","html_url":"https://github.com/qadium-memex/CommonCrawlJob/issues/4","id":184644322,"number":4,"title":"OverflowError: Unterminated UTF-8 sequence when encoding string","user":{"login":"jroakes","id":10191545,"avatar_url":"https://avatars.githubusercontent.com/u/10191545?v=3","gravatar_id":"","url":"https://api.github.com/users/jroakes","html_url":"https://github.com/jroakes","followers_url":"https://api.github.com/users/jroakes/followers","following_url":"https://api.github.com/users/jroakes/following{/other_user}","gists_url":"https://api.github.com/users/jroakes/gists{/gist_id}","starred_url":"https://api.github.com/users/jroakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroakes/subscriptions","organizations_url":"https://api.github.com/users/jroakes/orgs","repos_url":"https://api.github.com/users/jroakes/repos","events_url":"https://api.github.com/users/jroakes/events{/privacy}","received_events_url":"https://api.github.com/users/jroakes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-22T17:53:49Z","updated_at":"2016-10-22T17:53:49Z","closed_at":null,"body":"Another error that I have run across is : OverflowError: Unterminated UTF-8 sequence when encoding string error.  \r\n\r\nHere is the error log:\r\n\r\n```\r\nProbable cause of failure:\r\n\r\nPipeMapRed failed!\r\njava.lang.RuntimeException: PipeMapRed.waitOutputThreads(): subprocess failed with code 1\r\n        at org.apache.hadoop.streaming.PipeMapRed.waitOutputThreads(PipeMapRed.java:330)\r\n        at org.apache.hadoop.streaming.PipeMapRed.mapRedFinished(PipeMapRed.java:543)\r\n        at org.apache.hadoop.streaming.PipeMapper.close(PipeMapper.java:130)\r\n        at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:81)\r\n        at org.apache.hadoop.streaming.PipeMapRunner.run(PipeMapRunner.java:34)\r\n        at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:432)\r\n        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)\r\n        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:175)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at javax.security.auth.Subject.doAs(Subject.java:415)\r\n        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)\r\n        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:170)\r\n\r\n(from lines 49-62 of ssh://ec2-54-242-14-147.compute-1.amazonaws.com!10.155.162.51/mnt/var/log/hadoop/userlogs/application_1477157448298\r\n_0001/container_1477157448298_0001_01_000061/syslog)\r\n\r\ncaused by:\r\n\r\nTraceback (most recent call last):\r\n  File \"GoogleAnalytics-1.py\", line 12, in <module>\r\n    GoogleAnalytics.run()\r\n  File \"/usr/local/lib/python2.7/site-packages/mrjob/job.py\", line 429, in run\r\n    mr_job.execute()\r\n  File \"/usr/local/lib/python2.7/site-packages/mrjob/job.py\", line 438, in execute\r\n    self.run_mapper(self.options.step_num)\r\n  File \"/usr/local/lib/python2.7/site-packages/mrjob/job.py\", line 505, in run_mapper\r\n    write_line(out_key, out_value)\r\n  File \"/usr/local/lib/python2.7/site-packages/mrjob/job.py\", line 685, in write_line\r\n    self.stdout.write(write(key, value))\r\n  File \"/usr/local/lib/python2.7/site-packages/mrjob/protocol.py\", line 99, in write\r\n    return self._dumps(key) + b'\\t' + self._dumps(value)\r\n  File \"/usr/local/lib/python2.7/site-packages/mrjob/protocol.py\", line 210, in _dumps\r\n    return ujson.dumps(value)\r\nOverflowError: Unterminated UTF-8 sequence when encoding string\r\n````\r\n\r\nIn addition, I am getting the following error in the console: Unable to connect to resource manager\r\nThis is probably not related and may be the IO behavior you had indicated in the notes.\r\n\r\n```\r\n  Opening ssh tunnel to resource manager...\r\n  Connect to resource manager at: http://ip-172-16-0-223:40786/cluster\r\n  RUNNING for 24.0s\r\nUnable to connect to resource manager\r\n  RUNNING for 55.8s\r\n  RUNNING for 86.4s\r\n  RUNNING for 117.4s\r\n  RUNNING for 148.1s\r\n  RUNNING for 178.9s\r\n  RUNNING for 209.0s\r\n  RUNNING for 239.6s\r\n  RUNNING for 270.4s\r\n  RUNNING for 301.4s\r\n```\r\n\r\nAny guidance is appreciated.\r\n"}}
{"actor":{"display_login":"jroakes"}}