{"action":"created","issue":{"url":"https://api.github.com/repos/EclairJS/eclairjs-nashorn/issues/178","repository_url":"https://api.github.com/repos/EclairJS/eclairjs-nashorn","labels_url":"https://api.github.com/repos/EclairJS/eclairjs-nashorn/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/EclairJS/eclairjs-nashorn/issues/178/comments","events_url":"https://api.github.com/repos/EclairJS/eclairjs-nashorn/issues/178/events","html_url":"https://github.com/EclairJS/eclairjs-nashorn/issues/178","id":141587854,"number":178,"title":"Twitter example does not work on cluster","user":{"login":"pberkland","id":11062322,"avatar_url":"https://avatars.githubusercontent.com/u/11062322?v=3","gravatar_id":"","url":"https://api.github.com/users/pberkland","html_url":"https://github.com/pberkland","followers_url":"https://api.github.com/users/pberkland/followers","following_url":"https://api.github.com/users/pberkland/following{/other_user}","gists_url":"https://api.github.com/users/pberkland/gists{/gist_id}","starred_url":"https://api.github.com/users/pberkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pberkland/subscriptions","organizations_url":"https://api.github.com/users/pberkland/orgs","repos_url":"https://api.github.com/users/pberkland/repos","events_url":"https://api.github.com/users/pberkland/events{/privacy}","received_events_url":"https://api.github.com/users/pberkland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EclairJS/eclairjs-nashorn/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"pberkland","id":11062322,"avatar_url":"https://avatars.githubusercontent.com/u/11062322?v=3","gravatar_id":"","url":"https://api.github.com/users/pberkland","html_url":"https://github.com/pberkland","followers_url":"https://api.github.com/users/pberkland/followers","following_url":"https://api.github.com/users/pberkland/following{/other_user}","gists_url":"https://api.github.com/users/pberkland/gists{/gist_id}","starred_url":"https://api.github.com/users/pberkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pberkland/subscriptions","organizations_url":"https://api.github.com/users/pberkland/orgs","repos_url":"https://api.github.com/users/pberkland/repos","events_url":"https://api.github.com/users/pberkland/events{/privacy}","received_events_url":"https://api.github.com/users/pberkland/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-17T13:46:30Z","updated_at":"2016-03-25T15:45:11Z","closed_at":"2016-03-25T15:45:11Z","body":"Not sure if it has anything to do with our code, is authentication error.\r\nThe same command works on the same machine when spark master is local[*]\r\n\r\n16/03/17 08:38:28 ERROR scheduler.ReceiverTracker: Deregistered receiver for stream 0: Restarting receiver with delay 2000ms: Error starting Twitter stream - java.lang.IllegalStateException: Authentication credentials are missing. See http://twitter4j.org/en/configuration.html for details\r\n\tat twitter4j.TwitterBaseImpl.ensureAuthorizationEnabled(TwitterBaseImpl.java:215)\r\n\tat twitter4j.TwitterStreamImpl.sample(TwitterStreamImpl.java:161)\r\n\tat org.apache.spark.streaming.twitter.TwitterReceiver.onStart(TwitterInputDStream.scala:93)\r\n\tat org.apache.spark.streaming.receiver.ReceiverSupervisor.startReceiver(ReceiverSupervisor.scala:148)\r\n\tat org.apache.spark.streaming.receiver.ReceiverSupervisor$$anonfun$restartReceiver$1.apply$mcV$sp(ReceiverSupervisor.scala:197)\r\n\tat org.apache.spark.streaming.receiver.ReceiverSupervisor$$anonfun$restartReceiver$1.apply(ReceiverSupervisor.scala:188)\r\n\tat org.apache.spark.streaming.receiver.ReceiverSupervisor$$anonfun$restartReceiver$1.apply(ReceiverSupervisor.scala:188)\r\n\tat scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)\r\n\tat scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n"},"comment":{"url":"https://api.github.com/repos/EclairJS/eclairjs-nashorn/issues/comments/201339176","html_url":"https://github.com/EclairJS/eclairjs-nashorn/issues/178#issuecomment-201339176","issue_url":"https://api.github.com/repos/EclairJS/eclairjs-nashorn/issues/178","id":201339176,"user":{"login":"pberkland","id":11062322,"avatar_url":"https://avatars.githubusercontent.com/u/11062322?v=3","gravatar_id":"","url":"https://api.github.com/users/pberkland","html_url":"https://github.com/pberkland","followers_url":"https://api.github.com/users/pberkland/followers","following_url":"https://api.github.com/users/pberkland/following{/other_user}","gists_url":"https://api.github.com/users/pberkland/gists{/gist_id}","starred_url":"https://api.github.com/users/pberkland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pberkland/subscriptions","organizations_url":"https://api.github.com/users/pberkland/orgs","repos_url":"https://api.github.com/users/pberkland/repos","events_url":"https://api.github.com/users/pberkland/events{/privacy}","received_events_url":"https://api.github.com/users/pberkland/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T15:45:11Z","updated_at":"2016-03-25T15:45:11Z","body":"The java example also fails on a cluster, so there is no unique eclairjs problem"}}