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