spark-shell java was unexpected at this time
You can see this issue when your Java home set like following in windows
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_162\bin
Issue here is space in "Program Files (x86)" If you add double quotes will not work on window 10
"C:\Program Files (x86)\Java\jdk1.8.0_162\bin"
You need to copy Java into outside Program Files (x86) then it should work
JAVA_HOME=C:\java\jdk1.8.0_171\bin
--------------------------------------------------------------------------------------------------
Finally I upgraded my java version to JDK 1.8 for Spark!!!
You can see this issue when your Java home set like following in windows
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_162\bin
Issue here is space in "Program Files (x86)" If you add double quotes will not work on window 10
"C:\Program Files (x86)\Java\jdk1.8.0_162\bin"
You need to copy Java into outside Program Files (x86) then it should work
JAVA_HOME=C:\java\jdk1.8.0_171\bin
--------------------------------------------------------------------------------------------------
Finally I upgraded my java version to JDK 1.8 for Spark!!!
No comments:
Post a Comment