Data World

Spark: Check version of Spark on CDH

Posted by Pramod Singla on December 11, 2015


Problem: How to check the version of the spark installed in your environment?

Solution:

  1. Search for “spark-shell” in file system.
    1. in my case the absolute path of spark-shell is “/usr/lib/spark/bin”
  2. Open terminal and go to above identified path.
  3. Run

    Spark-shell

    or

    PySpark

    .

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s