try run this code:
sudo -E R CMD javareconf
and then start spark, basically, it syncs R's java configuration with your
Java configuration
Good luck!
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Help-with-error-initializing-SparkR-tp4495p17871.html
-list.1001560.n3.nabble.com/Help-with-error-initializing-SparkR-tp4495.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
Problem solved, Shivaram's answer in the github post is the perfect solution
for me.
See https://github.com/amplab-extras/SparkR-pkg/issues/46#
Thanks!
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Help-with-error-initializing-SparkR-tp4495p4504.html
this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Help-with-error-initializing-SparkR-tp4495.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.