spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chanh Le <>
Subject Why add --driver-class-path jbdc.jar works and --jars not? (1.6.1)
Date Wed, 05 Oct 2016 10:32:33 GMT
Hi everyone,
I just wondering why when I run my program I need to add jdbc.jar into —driver-class-path
instead treat it like a dependency by —jars.

My program works with these config
./bin/spark-submit --packages org.apache.spark:spark-streaming-kafka_2.10:1.6.1 --master "local[4]"
--class com.ants.util.kafka.PersistenceData --driver-class-path /Users/giaosudau/Downloads/postgresql-9.3-1102.jdbc41.jar

According by and
> This is a bug related the the classloader

I checked this <>
was merged.

I am using Spark 1.6.1 and by issue tell that already fixed in 1.4.1 and 1.5

View raw message