---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-4-c1448c093325> in <module>()
46 _influencial2.pprint()
47 ssc.start()
---> 48 ssc.awaitTermination()
/home/dalonlobo/anaconda/envs/py2/lib/python2.7/site-packages/pyspark/streaming/context.pyc in awaitTermination(self, timeout)
204 """
205 if timeout is None:
--> 206 self._jssc.awaitTermination()
207 else:
208 self._jssc.awaitTerminationOrTimeout(int(timeout * 1000))
/home/dalonlobo/anaconda/envs/py2/lib/python2.7/site-packages/py4j/java_gateway.pyc in __call__(self, *args)
1156 proto.END_COMMAND_PART
1157
-> 1158 answer = self.gateway_client.send_command(command)
1159 return_value = get_return_value(
1160 answer, self.gateway_client, self.target_id, self.name)
/home/dalonlobo/anaconda/envs/py2/lib/python2.7/site-packages/py4j/java_gateway.pyc in send_command(self, command, retry, binary)
906 connection = self._get_connection()
907 try:
--> 908 response = connection.send_command(command)
909 if binary:
910 return response, self._create_connection_guard(connection)
/home/dalonlobo/anaconda/envs/py2/lib/python2.7/site-packages/py4j/java_gateway.pyc in send_command(self, command)
1053
1054 try:
-> 1055 answer = smart_decode(self.stream.readline()[:-1])
1056 logger.debug("Answer received: {0}".format(answer))
1057 if answer.startswith(proto.RETURN_MESSAGE):
/home/dalonlobo/anaconda/envs/py2/lib/python2.7/socket.pyc in readline(self, size)
449 while True:
450 try:
--> 451 data = self._sock.recv(self._rbufsize)
452 except error, e:
453 if e.args[0] == EINTR:
/home/dalonlobo/anaconda/envs/py2/lib/python2.7/site-packages/pyspark/context.pyc in signal_handler(signal, frame)
235 def signal_handler(signal, frame):
236 self.cancelAllJobs()
--> 237 raise KeyboardInterrupt()
238
239 # see http://stackoverflow.com/questions/23206787/
KeyboardInterrupt: