Question: I want to check the spark version in cdh 5.7.0. I have searched on the internet but not able to understand. Please help.

Answer: If you are using Spark, use the following to get the Spark version:

spark-submit --version

or

Login to the Cloudera Manager and goto Hosts page then run inspect hosts in cluster

You can get the spark version by using the following command:

spark-submit --version

spark-shell --version

spark-sql --version

You can visit the below site to know the spark-version used in CDH 5.7.0


Other Popular Courses