How to check the Spark version

后端 未结 15 1155
时光取名叫无心
时光取名叫无心 2020-12-29 17:29

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

The current system has installed cdh5.1.0.

15条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-29 18:05

    If you are on Zeppelin notebook you can run:

    sc.version 
    

    to know the scala version as well you can ran:

    util.Properties.versionString
    

提交回复
热议问题