ZhichaoThere are some variables need to be set in Pycharm:
PYTHONPATH=SPARK_HOME/python/lib/pyspark.zip:SPARK_HOME/python/lib/py4j-0.9-src.zip:BigDL_HOME/spark/dl/src/main/resources/spark-bigdl.conf
spark.master=local[2]
SPARK_CLASSPATH=BigDL_HOME/spark/dl/target/bigdl-0.2.0-SNAPSHOT-jar-with-dependencies.jar
SPARK_HOME=SPARK_HOMEand alsoneed to be run before starting pycharm which essentially just set some environment variables.$ source PATH_To_BigDL/dist/bin/bigdl.sh
Thanks,
--
You received this message because you are subscribed to the Google Groups "BigDL User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigdl-user-group+unsubscribe@googlegroups.com.
To post to this group, send email to bigdl-user-group@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigdl-user-group/5ef9b860-8db7-4d22-807e-4a4afb699a72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
+ group
On Tue, Jun 6, 2017 at 2:08 PM, zhichao <lisur...@gmail.com> wrote:
ZhichaoThere are some variables need to be set in Pycharm:
PYTHONPATH=SPARK_HOME/python/lib/pyspark.zip:SPARK_HOME/python/lib/py4j-0.9-src.zip:BigDL_HOME/spark/dl/src/main/resources/spark-bigdl.conf
spark.master=local[2]
SPARK_CLASSPATH=BigDL_HOME/spark/dl/target/bigdl-0.2.0-SNAPSHOT-jar-with-dependencies.jar
SPARK_HOME=SPARK_HOMEand alsoneed to be run before starting pycharm which essentially just set some environment variables.$ source PATH_To_BigDL/dist/bin/bigdl.sh
Thanks,
On Mon, Jun 5, 2017 at 8:25 PM, <marioru...@gmail.com> wrote:
Hello,I'am new to the Spark and bigDL world. I have installed both thanks to the Intel tutorial but I don't know how to get them working on PyCharm.Can you help me?Thank you!
--
You received this message because you are subscribed to the Google Groups "BigDL User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigdl-user-gro...@googlegroups.com.
To post to this group, send email to bigdl-us...@googlegroups.com.
SPARK_CLASSPATH=BigDL_HOME/spark/dl/target/bigdl-0.2.0-SNAPSHOT-jar-with-dependencies.jar
To view this discussion on the web visit https://groups.google.com/d/msgid/bigdl-user-group/15d08416-f3c0-4125-9f8e-8a43acae0495%40googlegroups.com.
To post to this group, send email to bigdl-u...@googlegroups.com.
It’s due to pycharm didn’t inherit those environments successfully.
One thing you can try is put the sourcing script at the beginning of the pycharm starting script.
# PyCharm startup script.
# ---------------------------------------------------------------------
#
. $BIGDLHOME/dist/bin/bigdl.sh
Or you can set those environments directly into pycharm the same way as you set PYTHONPATH
To view this discussion on the web visit https://groups.google.com/d/msgid/bigdl-user-group/59689e80-9718-4b02-927b-b75930173d22%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bigdl-user-group+unsubscribe@googlegroups.com.
To post to this group, send email to bigdl-user-group@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigdl-user-group/59689e80-9718-4b02-927b-b75930173d22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "BigDL User Group" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigdl-user-group/F03D1005CC201743BE1B3E1C1E14668B6ABF5E3E%40SHSMSX101.ccr.corp.intel.com.To unsubscribe from this group and stop receiving emails from it, send an email to bigdl-user-group+unsubscribe@googlegroups.com.
To post to this group, send email to bigdl-user-group@googlegroups.com.