Re: Add packages for ipython notebook

2018-12-28 Thread Haibo Yan
Thank you for replying, Sean. error is as follows: Py4JJavaError: An error occurred while calling o49.load. : org.apache.spark.sql.AnalysisException: Failed to find data source: kafka. Please deploy the application as per the deployment section of "Structured Streaming + Kafka Integration

Add packages for ipython notebook

2018-12-28 Thread Haibo Yan
Dear spark dev I am trying to run IPython notebook with Kafka structured streaming support, I couldn't find a way to load Kafka package by adding "--packages org.apache.spark:spark-sql-kafka-0-10_2.11:2.4.0" to PYSPARK_DRIVER_PYTHON_OPTS or even I changed my local pyspark script to "exec