回复: Welcoming some new committers and PMC members
congratulations~ 在2019年09月10日 09:30,Joseph Torres 写道: congratulations! On Mon, Sep 9, 2019 at 6:27 PM 王 斐 wrote: congratulations! 获取 Outlook for iOS 发件人: Ye Xianjin 发送时间: 星期二, 九月 10, 2019 09:26 收件人: Jeff Zhang 抄送: Saisai Shao; dev 主题: Re: Welcoming some new committers and PMC members Congratulations! Sent from my iPhone On Sep 10, 2019, at 9:19 AM, Jeff Zhang wrote: Congratulations! Saisai Shao 于2019年9月10日周二 上午9:16写道: Congratulations! Jungtaek Lim 于2019年9月9日周一 下午6:11写道: Congratulations! Well deserved! On Tue, Sep 10, 2019 at 9:51 AM John Zhuge wrote: Congratulations! On Mon, Sep 9, 2019 at 5:45 PM Shane Knapp wrote: congrats everyone! :) On Mon, Sep 9, 2019 at 5:32 PM Matei Zaharia wrote: > > Hi all, > > The Spark PMC recently voted to add several new committers and one PMC > member. Join me in welcoming them to their new roles! > > New PMC member: Dongjoon Hyun > > New committers: Ryan Blue, Liang-Chi Hsieh, Gengliang Wang, Yuming Wang, > Weichen Xu, Ruifeng Zheng > > The new committers cover lots of important areas including ML, SQL, and data > sources, so it’s great to have them here. All the best, > > Matei and the Spark PMC > > > - > To unsubscribe e-mail: dev-unsubscr...@spark.apache.org > -- Shane Knapp UC Berkeley EECS Research / RISELab Staff Technical Lead https://rise.cs.berkeley.edu - To unsubscribe e-mail: dev-unsubscr...@spark.apache.org -- John Zhuge -- Name : Jungtaek Lim Blog : http://medium.com/@heartsavior Twitter : http://twitter.com/heartsavior LinkedIn : http://www.linkedin.com/in/heartsavior -- Best Regards Jeff Zhang
Add packages for ipython notebook
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 "${SPARK_HOME}"/bin/spark-submit --packages org.apache.spark:spark-sql-kafka-0-10_2.11:2.4.0 pyspark-shell-main --name "PySparkShell" "$@"". Could anyone here point out the correct way to add support for Kafka streaming for python notebook. Much appreciated. Haibo
Re: Add packages for ipython notebook
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 Guide".; at org.apache.spark.sql.execution.datasources.DataSource$.lookupDataSource(DataSource.scala:652) at org.apache.spark.sql.streaming.DataStreamReader.load(DataStreamReader.scala:161) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244) at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357) at py4j.Gateway.invoke(Gateway.java:282) at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132) at py4j.commands.CallCommand.execute(CallCommand.java:79) at py4j.GatewayConnection.run(GatewayConnection.java:238) at java.lang.Thread.run(Thread.java:748) Below is the code from pyspark.sql import SparkSession spark = SparkSession.builder.appName("Test").getOrCreate() df = spark.readStream.format("kafka").option("kafka.bootstrap.servers", “myserver:9092").option("subscribe", “my_topic").load() By the way, I have the same Scala code is running with spark-shell by adding "--packages org.apache.spark:spark-sql-kafka-0-10_2.11:2.4.0” Thank you On Fri, Dec 28, 2018 at 12:44 PM Sean Owen wrote: > Nothing here says what problem you ran into? > > On Fri, Dec 28, 2018 at 2:41 PM Haibo Yan wrote: > > > > 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 "${SPARK_HOME}"/bin/spark-submit --packages > org.apache.spark:spark-sql-kafka-0-10_2.11:2.4.0 pyspark-shell-main --name > "PySparkShell" "$@"". Could anyone here point out the correct way to add > support for Kafka streaming for python notebook. > > > > Much appreciated. > > > > Haibo >