Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/12678#issuecomment-215242079
  
    > If the jar/file is there that it will be in the classpath when spark is 
launched 
    
    For jars it's not as simple as that. But your previous instructions are 
correct; you need to do *both* of the following:
    
    - distribute the jar file using --files (or --jars although for this case 
--files is slightly better)
    - add its *name* (not the full path) to 
`spark.{driver,executor}.extraClassPath`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to