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
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