Created on 07-17-2018 09:30 PM - edited 09-16-2022 06:28 AM
My host system win 10 and I am using cloudera quick vm for spark learning and my spark version is 1.6 which comes default with cloudera>Now when I try to start the spark shell with the below dependency , I am getting the below exception .Please advise .
spark-shell --packages org.apache.spark:spark-streaming-twitter_2.10:1.6.0
Created 07-18-2018 01:26 AM
Created 07-18-2018 06:01 AM
Created 07-18-2018 06:28 AM
You need the truststore. Check this link https://www.cloudera.com/documentation/enterprise/5-11-x/topics/sg_add_root_ca_explicit_trust.html#i... where it is documented.
Created 07-18-2018 11:44 AM
Created 08-12-2019 12:12 AM
TLS version mismatch is the issue.
The below commands, fixed this issue for me, you can try this as well:
echo 'export JAVA_TOOL_OPTIONS="-Dhttps.protocols=TLSv1.2"' >> ~/.bashrc
source ~/.bashrc