+1 vote
1 view
in Big Data Hadoop & Spark by (1k points)

as titled, how do I know which version of spark has been installed in the CentOS?

The current system has installed cdh5.1.0.

2 Answers

0 votes
by (13.2k points)

 Open Spark shell Terminal and enter command

sc.version  Or  spark-submit --version

 The easiest way is to just launch “spark-shell” in command line. It will display the   

 current active version of Spark.

0 votes
by (33.2k points)
edited by

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

spark-submit --version

spark-shell --version

spark-sql --version

Hope this answer helps you!

If you want more information regarding the same, refer the following video:

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...