How Do You Know If Apache Spark Has Been Installed?

Problem scenario
You are looking for the Hadoop components' versions.  You run these commands:

hadoop version
hdfs version
yarn version

You notice the output is the same for each of the three commands above.  You are not sure if Apache Spark has been installed.  What do you do?

Solution
Run this command:

spark-submit --version

Leave a comment

Your email address will not be published. Required fields are marked *