Re: spark python script importError problem

2019-07-16 Thread Patrick McCarthy
Your module 'feature' isn't available to the yarn workers, so you'll need to either install it on them if you have access, or else upload to the workers at runtime using --py-files or similar. On Tue, Jul 16, 2019 at 7:16 AM zenglong chen wrote: > Hi,all, > When i run a run a python

spark python script importError problem

2019-07-16 Thread zenglong chen
Hi,all, When i run a run a python script on spark submit,it done well in local[*] mode,but not in standalone mode or yarn mode.The error like below: Caused by: org.apache.spark.api.python.PythonException: Traceback (most recent call last): File