Re: Spark Streaming not working

2020-04-10 Thread Debabrata Ghosh
Any solution please ? On Fri, Apr 10, 2020 at 11:04 PM Debabrata Ghosh wrote: > Hi, > I have a spark streaming application where Kafka is producing > records but unfortunately spark streaming isn't able to consume those. > > I am hitting the following error: > > 20/04/10 17:28:04 ERROR

Re: Spark Streaming not working

2020-04-10 Thread Chenguang He
unsubscribe

Re: Spark Streaming not working

2020-04-10 Thread Debabrata Ghosh
Yes the Kafka producer is producing records from the same host - Rechecked Kafka connection and the connection is there. Came across this URL but unable to understand it https://stackoverflow.com/questions/42264669/spark-streaming-assertion-failed-failed-to-get-records-for-spark-executor-a-gro

Re: Spark Streaming not working

2020-04-10 Thread Srinivas V
Check if your broker details are correct, verify if you have network connectivity to your client box and Kafka broker server host. On Fri, Apr 10, 2020 at 11:04 PM Debabrata Ghosh wrote: > Hi, > I have a spark streaming application where Kafka is producing > records but unfortunately

Spark Streaming not working

2020-04-10 Thread Debabrata Ghosh
Hi, I have a spark streaming application where Kafka is producing records but unfortunately spark streaming isn't able to consume those. I am hitting the following error: 20/04/10 17:28:04 ERROR Executor: Exception in task 0.5 in stage 0.0 (TID 24) java.lang.AssertionError: assertion

Re: [External Sender] Re: Driver pods stuck in running state indefinitely

2020-04-10 Thread Prudhvi Chennuru (CONT)
No, there was no internal domain issue. As I mentioned I saw this issue only on a few nodes on the cluster. On Thu, Apr 9, 2020 at 10:49 PM Wei Zhang wrote: > Is there any internal domain name resolving issues? > > > Caused by: java.net.UnknownHostException: >

Spark hangs while reading from jdbc - does nothing

2020-04-10 Thread Ruijing Li
Hi all, I am on spark 2.4.4 and using scala 2.11.12, and running cluster mode on mesos. I am ingesting from an oracle database using spark.read.jdbc. I am seeing a strange issue where spark just hangs and does nothing, not starting any new tasks. Normally this job finishes in 30 stages but

Re: How to import PySpark into Jupyter

2020-04-10 Thread Akchhaya S
Hello Yasir, You need to check your 'PYTHONPATH' environment variable. For windows, If I do a "pip install", the package is installed in "lib\site-packages" under the python folder. If I "print (sys.path)", I see "lib\site-packages" as one of the entries, and I can expect "import " to work.

Fwd: How to import PySpark into Jupyter

2020-04-10 Thread Yasir Elgohary
Peace dear all, I hope you all are well and healthy... I am brand new to Spark/Hadoop. My env. is: Windows 7 with Jupyter/Anaconda and Spark/Hadoop all installed on my laptop. How can I run the following without errors: import findspark findspark.init() findspark.find() from pyspark.sql import