Tuesday, 10 September 2013

Error receiving data and Stream closed

Error receiving data and Stream closed

Running the spark application and reading the twitter streams from the
twitter api, after running some time the streamingcontext got closed. And
the log file has shown the following errors.
13/08/30 10:33:21 ERROR dstream.TwitterReceiver: Error receiving data
Stream closed. Relevant discussions can be found on the Internet at:
http://www.google.co.jp/search?q=a8fd061d or
http://www.google.co.jp/search?q=00070a0c
TwitterException{exceptionCode=[a8fd061d-00070a0c
a8fd061d-0007099d],
statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null,
version=3.0.3} at
twitter4j.StatusStreamBase.handleNextElement(StatusStreamBase.java:199) at
twitter4j.StatusStreamImpl.next(StatusStreamImpl.java:57) at
twitter4j.TwitterStreamImpl$TwitterStreamConsumer.run(TwitterStreamImpl.java:478)
Caused by: java.io.IOException: the end of the stream has been reached at
twitter4j.StatusStreamBase.handleNextElement(StatusStreamBase.java:88) ...
2 more 13/08/30 10:33:21 INFO dstream.NetworkReceiver$BlockGenerator:
Block pushing thread interrupted 13/08/30 10:33:21 INFO
dstream.NetworkReceiver$BlockGenerator: Data handler stopped 13/08/30
10:33:21 INFO dstream.TwitterReceiver: Twitter receiver stopped 13/08/30
10:33:21 INFO twitter4j.TwitterStreamImpl: Stream closed. 13/08/30
10:33:21 ERROR streaming.NetworkInputTracker: De-registered receiver for
network stream 0 with message Stream closed. Relevant discussions can be
found on the Internet at:
TwitterException{exceptionCode=[a8fd061d-00070a0c a8fd061d-0007099d],
statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null,
version=3.0.3} 13/08/30 10:33:22 INFO streaming.Scheduler:
Can anyone please assist on this problem would be appreciated.

No comments:

Post a Comment