did you try -- jars property in spark submit? if your jar is of huge size, you can pre-load the jar on all executors in a common available directory to avoid network IO.
On Thu, Jan 7, 2016 at 4:03 PM, Ophir Etzion <op...@foursquare.com> wrote: > I' trying to add jars before running a query using hive on spark on cdh > 5.4.3. > I've tried applying the patch in > https://issues.apache.org/jira/browse/HIVE-12045 (manually as the patch > is done on a different hive version) but still hasn't succeeded. > > did anyone manage to do ADD JAR successfully with CDH? > > Thanks, > Ophir >