Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Using spark-kafka-writer repository


Using spark-kafka-writer repository

New Contributor

Cloudera has an open source project called spark-kafka-writer (, which abstracts the complexity of writing to Kakfa on each RDD partition.


However, when attempting to access the Maven Repos ( we receive the following error upon connection: "Unexpected error: the trustAnchors parameter must be non-empty".



Does anyone know from where to get a maven repo for this project.


Re: Using spark-kafka-writer repository

Master Guru
Where do you observe this error, and does it occur for all repository dependencies or just this one?

Do you override your local JVM TrustStore with something custom?

Effectively the error is coming out of no trust of the provided certificate by, which is a proper signed certificate and should be trusted by the JVM's default TrustStore.
Don't have an account?
Coming from Hortonworks? Activate your account here