Re: How to add jars to standalone pyspark program

2015-05-06 Thread mj
e.com/How-to-add-jars-to-standalone-pyspark-program-tp22685p22787.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e

Re: How to add jars to standalone pyspark program

2015-05-06 Thread mj
at py4j.GatewayConnection.run(GatewayConnection.java:207) at java.lang.Thread.run(Thread.java:745) -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-add-jars-to-standalone-pyspark-program-tp22685p22784.html Sent from the Ap

Re: How to add jars to standalone pyspark program

2015-04-28 Thread jamborta
ah, just noticed that you are using an external package, you can add that like this conf = (SparkConf().set("spark.jars", jar_path)) or if it is a python package: sc.addPyFile() -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-a

Re: How to add jars to standalone pyspark program

2015-04-28 Thread jamborta
Hi Mark, That does not look like an python path issue, spark-assembly jar should have those packaged, and should make it available for the workers. Have you built the jar yourself? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-add-jars-to

Re: How to add jars to standalone pyspark program

2015-04-28 Thread ayan guha
oker.invoke(MethodInvoker.java:231) >> at >> py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379) >> at py4j.Gateway.invoke(Gateway.java:259) >> at >> py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133) >>

Re: How to add jars to standalone pyspark program

2015-04-28 Thread Fabian Böhnlein
ava:207) at java.lang.Thread.run(Thread.java:745) I presume I need to set the spark classpath somehow but I'm not sure of the right way to do it. Any advice/guidance would be appreciated. Thanks, Mark. -- View this message in context: http://apache-spark-user-list.1001560.n3.n

How to add jars to standalone pyspark program

2015-04-28 Thread mj
I presume I need to set the spark classpath somehow but I'm not sure of the right way to do it. Any advice/guidance would be appreciated. Thanks, Mark. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/