Mehdi Ben Hamida
Mehdi Ben Hamida

Reputation: 1051

Install Spark and Hadoop in the same machine

I'm trying to install Spark Apache and Hadoop in the same machine. Spark will be used to process data, and HDFS from Hadoop will be used to store data. I first started by installing spark and it worked perfectly. But, when I started installing Hadoop and set the JAVA_HOME environment variable HDFS worked, but spark break down and shows: Files was unexpected at this time. when I launched it. When I deleted JAVA_HOME, Spark worked again but it's not the case for HDFS. What should I do in this case?

Upvotes: 0

Views: 275

Answers (1)

Serge Harnyk
Serge Harnyk

Reputation: 1339

What OS are you using? Can you show your JAVA_HOME path? Your JAVA_HOME path should not contain spaces.

Upvotes: 1

Related Questions