{"id":146,"date":"2022-05-31T21:48:44","date_gmt":"2022-05-31T21:48:44","guid":{"rendered":"https:\/\/kindsonthegenius.com\/apache-spark\/?p=146"},"modified":"2026-10-29T01:19:43","modified_gmt":"2026-10-29T01:19:43","slug":"spark-installation-and-setup","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/","title":{"rendered":"Spark &#8211; Installation and Setup"},"content":{"rendered":"<p>In this tutorial, you will learn how to install Apache Spark on Mac and Windows.<\/p>\n<p>We would take to following steps<\/p>\n<ol>\n<li><a href=\"#t1\">Install Homebrew<\/a><\/li>\n<li><a href=\"#t2\">Install Java<\/a><\/li>\n<li><a href=\"#t3\">Install Scala<\/a><\/li>\n<li><a href=\"#t4\">Install Apache Spark<\/a><\/li>\n<li><a href=\"#t5\">Verify Apache Spark Installation<\/a><\/li>\n<li><a href=\"#t6\">Install Spark on Windows<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>We&#8217;ll first go through Spark installation on MacOS. Next we go through the Windows installation as well.<\/p>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t1\">1. Install Homebrew<\/strong><\/h4>\n<p>Homebrew is a package manager for MacOS.\u00a0 You use it to install packages. So go ahead to install it using the command<\/p>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #333333;\">\/<\/span>bin<span style=\"color: #333333;\">\/<\/span>bash <span style=\"color: #333333;\">-<\/span>c <span style=\"background-color: #fff0f0;\">\"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install.sh)\"<\/span>\r\n<\/pre>\n<p>This command would install XCode command line tools and Homebrew<\/p>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t2\">2. Install Java<\/strong><\/h4>\n<p>Spark using Java tools for performing various operations. Therefore, you need to have Java installed in your system.<\/p>\n<p>Install Java using the command:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">brew install openjdk\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>Check Java installation using the command:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #333333;\">java --version<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t3\">3. Install Scala<\/strong><\/h4>\n<p>Spark was actually written in Scala. So we would need Scala installed as well.<\/p>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #333333;\">brew install Scala<\/span>\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>You can find <a href=\"https:\/\/www.kindsonthegenius.com\/scala\/\" target=\"_blank\" rel=\"noopener\">Scala tutorials here<\/a><\/p>\n<h4><strong id=\"t4\">4. Install Apache Spark<\/strong><\/h4>\n<p>You now need to install Spark using this command<\/p>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #333333;\">brew install apache-spark<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p>This command would install Apache Spark. You can then launch the Spark shell using the command below:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #333333;\">spark-shell<\/span><\/pre>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t5\">5. Verify Apache Spark Installation<\/strong><\/h4>\n<p>Let&#8217;s now validate Spark installation by writing a simple command that creates a Spark DataFrame<\/p>\n<pre style=\"margin: 0; line-height: 125%;\"><span style=\"color: #008800; font-weight: bold;\">import<\/span> <span style=\"color: #0e84b5; font-weight: bold;\">spark.implicits._<\/span>\r\n<span style=\"color: #008800; font-weight: bold;\">val<\/span> data <span style=\"color: #008800; font-weight: bold;\">=<\/span> <span style=\"color: #bb0066; font-weight: bold;\">Seq<\/span><span style=\"color: #333333;\">((<\/span><span style=\"background-color: #fff0f0;\">\"Java\"<\/span><span style=\"color: #333333;\">,<\/span> <span style=\"background-color: #fff0f0;\">\"Programmin\"<\/span><span style=\"color: #333333;\">,<\/span> <span style=\"background-color: #fff0f0;\">\"60800\"<\/span><span style=\"color: #333333;\">),<\/span> <span style=\"color: #333333;\">(<\/span><span style=\"background-color: #fff0f0;\">\"Python\"<\/span><span style=\"color: #333333;\">,<\/span> <span style=\"background-color: #fff0f0;\">\"Analysis\"<\/span><span style=\"color: #333333;\">,<\/span> <span style=\"background-color: #fff0f0;\">\"150000\"<\/span><span style=\"color: #333333;\">),<\/span> <span style=\"color: #333333;\">(<\/span><span style=\"background-color: #fff0f0;\">\"Scala\"<\/span><span style=\"color: #333333;\">,<\/span> <span style=\"background-color: #fff0f0;\">\"Coding\"<\/span><span style=\"color: #333333;\">,<\/span> <span style=\"background-color: #fff0f0;\">\"3500\"<\/span><span style=\"color: #333333;\">))<\/span>\r\n<span style=\"color: #008800; font-weight: bold;\">val<\/span> df <span style=\"color: #008800; font-weight: bold;\">=<\/span> data<span style=\"color: #333333;\">.<\/span>toDF<span style=\"color: #333333;\">()<\/span> \r\ndf<span style=\"color: #333333;\">.<\/span>show<span style=\"color: #333333;\">()<\/span>\r\n<\/pre>\n<p>Note: You can type the codes on line at a time<\/p>\n<p>The output screen is as shown below:<\/p>\n<figure id=\"attachment_147\" aria-describedby=\"caption-attachment-147\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-147 size-large\" src=\"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147-1024x390.png\" alt=\"Creating a DataFrame in Spark\" width=\"1024\" height=\"390\" srcset=\"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147-1024x390.png 1024w, https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147-300x114.png 300w, https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147-768x292.png 768w, https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147.png 1127w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption id=\"caption-attachment-147\" class=\"wp-caption-text\">Creating a DataFrame in Spark<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t6\">6. Spark Installation on Window<\/strong><\/h4>\n<p>Follow the steps below to install Apache Spark on Window.<\/p>\n<p><strong>Step 1<\/strong> &#8211; Navigate the Apache Spark download page using this link &#8211; <a href=\"https:\/\/spark.apache.org\/downloads.html\" target=\"_blank\" rel=\"noopener\">https:\/\/spark.apache.org\/downloads.html<\/a><\/p>\n<p><strong>Step 2<\/strong> &#8211; Download the tgz file<\/p>\n<p><strong>Step 3<\/strong> &#8211; Unzip the file into a local directory<\/p>\n<p><strong>Step 4<\/strong> &#8211; Create a directory path in your C drive and copy the Spark folder content into the directory<\/p>\n<p><strong>Step 5<\/strong> &#8211; Set the JAVA_HOME, SPARK_HOME, HADOOP_HOME an PATH environment variables. Use the data below:<\/p>\n<pre style=\"margin: 0; line-height: 125%;\">JAVA_HOME = C:\\Program Files\\Java\\jdk18.0.1.1\r\nPATH = %PATH%;%JAVA_HOME%\r\n\r\nSPARK_HOME  = C:\\apps\\opt\\spark-3.0.0-bin-hadoop2.7\r\nHADOOP_HOME = C:\\apps\\opt\\spark-3.0.0-bin-hadoop2.7\r\nPATH=%PATH%;%SPARK_HOME%\r\n<\/pre>\n<p><strong>Note<\/strong>: The directory path should be exactly the location on you local drive<\/p>\n<p><strong>Step 6<\/strong> &#8211; Download <strong>winutils.exe<\/strong> for Hadoop and copy it to the bin folder in the spark path. Get it from here <a href=\"https:\/\/github.com\/cdarlint\/winutils\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/cdarlint\/winutils<\/a><\/p>\n<p><strong>Step 7<\/strong> &#8211; Open command prompt. Navigate into the bin directory of the Spark installation.<\/p>\n<p><strong>Step 8<\/strong> &#8211; Start spark-shell just like we did in Mac<\/p>\n<p>&nbsp;<\/p>\n<h4><strong>7. Access the Spark Web UI<\/strong><\/h4>\n<p>Apache Spark comes with a suite of Web User Interface(UI) to help you monitor\u00a0 your spark application. The Spark Web UI can be access via the link: <strong>http:\/\/localhost:4040\/<\/strong><\/p>\n<p>This is shown below<\/p>\n<figure id=\"attachment_153\" aria-describedby=\"caption-attachment-153\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.kindsonthegenius.com\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-153 size-large\" src=\"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-06-01-at-18.59.09-1024x620.png\" alt=\"Spark Web UI\" width=\"1024\" height=\"620\" srcset=\"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-06-01-at-18.59.09-1024x620.png 1024w, https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-06-01-at-18.59.09-300x182.png 300w, https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-06-01-at-18.59.09-768x465.png 768w, https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-06-01-at-18.59.09.png 1156w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-153\" class=\"wp-caption-text\">Spark Web UI<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to install Apache Spark on Mac and Windows. We would take to following steps Install Homebrew Install Java &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[4,3],"tags":[32,33,35,34],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-pyspark","category-spark","tag-hadoop","tag-java","tag-scala","tag-winutils"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Spark - Installation and Setup | Kindson The Genius<\/title>\n<meta name=\"description\" content=\"Spark - Installation and Setup \u2014 free Apache Spark tutorial by Kindson Munonye with clear examples. Step-by-step for beginners. Part of Kindson The Genius.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spark - Installation and Setup | Kindson The Genius\" \/>\n<meta property=\"og:description\" content=\"Spark - Installation and Setup \u2014 free Apache Spark tutorial by Kindson Munonye with clear examples. Step-by-step for beginners. Part of Kindson The Genius.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"Apache Spark Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-31T21:48:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-29T01:19:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1127\" \/>\n\t<meta property=\"og:image:height\" content=\"429\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"kindsonthegenius\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"kindsonthegenius\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/\"},\"author\":{\"name\":\"kindsonthegenius\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/#\\\/schema\\\/person\\\/fc459f22a7e6257cdfb7ea67fc0b44d3\"},\"headline\":\"Spark &#8211; Installation and Setup\",\"datePublished\":\"2022-05-31T21:48:44+00:00\",\"dateModified\":\"2026-10-29T01:19:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/\"},\"wordCount\":435,\"image\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/Screenshot-2022-05-31-at-22.13.29-e1654028167147-1024x390.png\",\"keywords\":[\"Hadoop\",\"Java\",\"Scala\",\"Winutils\"],\"articleSection\":[\"PySpark\",\"Spark\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/\",\"name\":\"Spark - Installation and Setup | Kindson The Genius\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/Screenshot-2022-05-31-at-22.13.29-e1654028167147-1024x390.png\",\"datePublished\":\"2022-05-31T21:48:44+00:00\",\"dateModified\":\"2026-10-29T01:19:43+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/#\\\/schema\\\/person\\\/fc459f22a7e6257cdfb7ea67fc0b44d3\"},\"description\":\"Spark - Installation and Setup \u2014 free Apache Spark tutorial by Kindson Munonye with clear examples. Step-by-step for beginners. Part of Kindson The Genius.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/Screenshot-2022-05-31-at-22.13.29-e1654028167147.png\",\"contentUrl\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/Screenshot-2022-05-31-at-22.13.29-e1654028167147.png\",\"width\":1127,\"height\":429,\"caption\":\"Creating a DataFrame in Spark\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/spark-installation-and-setup\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spark &#8211; Installation and Setup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/#website\",\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/\",\"name\":\"Apache Spark Tutorial\",\"description\":\"Beginner to Expert Apache Spark Tutorial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/#\\\/schema\\\/person\\\/fc459f22a7e6257cdfb7ea67fc0b44d3\",\"name\":\"kindsonthegenius\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g\",\"caption\":\"kindsonthegenius\"},\"url\":\"https:\\\/\\\/kindsonthegenius.com\\\/apache-spark\\\/author\\\/kindsonthegenius-3\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spark - Installation and Setup | Kindson The Genius","description":"Spark - Installation and Setup \u2014 free Apache Spark tutorial by Kindson Munonye with clear examples. Step-by-step for beginners. Part of Kindson The Genius.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/","og_locale":"en_US","og_type":"article","og_title":"Spark - Installation and Setup | Kindson The Genius","og_description":"Spark - Installation and Setup \u2014 free Apache Spark tutorial by Kindson Munonye with clear examples. Step-by-step for beginners. Part of Kindson The Genius.","og_url":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/","og_site_name":"Apache Spark Tutorial","article_published_time":"2022-05-31T21:48:44+00:00","article_modified_time":"2026-10-29T01:19:43+00:00","og_image":[{"width":1127,"height":429,"url":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147.png","type":"image\/png"}],"author":"kindsonthegenius","twitter_card":"summary_large_image","twitter_misc":{"Written by":"kindsonthegenius","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/#article","isPartOf":{"@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/"},"author":{"name":"kindsonthegenius","@id":"https:\/\/kindsonthegenius.com\/apache-spark\/#\/schema\/person\/fc459f22a7e6257cdfb7ea67fc0b44d3"},"headline":"Spark &#8211; Installation and Setup","datePublished":"2022-05-31T21:48:44+00:00","dateModified":"2026-10-29T01:19:43+00:00","mainEntityOfPage":{"@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/"},"wordCount":435,"image":{"@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147-1024x390.png","keywords":["Hadoop","Java","Scala","Winutils"],"articleSection":["PySpark","Spark"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/","url":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/","name":"Spark - Installation and Setup | Kindson The Genius","isPartOf":{"@id":"https:\/\/kindsonthegenius.com\/apache-spark\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/#primaryimage"},"image":{"@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147-1024x390.png","datePublished":"2022-05-31T21:48:44+00:00","dateModified":"2026-10-29T01:19:43+00:00","author":{"@id":"https:\/\/kindsonthegenius.com\/apache-spark\/#\/schema\/person\/fc459f22a7e6257cdfb7ea67fc0b44d3"},"description":"Spark - Installation and Setup \u2014 free Apache Spark tutorial by Kindson Munonye with clear examples. Step-by-step for beginners. Part of Kindson The Genius.","breadcrumb":{"@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/#primaryimage","url":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147.png","contentUrl":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-content\/uploads\/2022\/05\/Screenshot-2022-05-31-at-22.13.29-e1654028167147.png","width":1127,"height":429,"caption":"Creating a DataFrame in Spark"},{"@type":"BreadcrumbList","@id":"https:\/\/kindsonthegenius.com\/apache-spark\/spark-installation-and-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kindsonthegenius.com\/apache-spark\/"},{"@type":"ListItem","position":2,"name":"Spark &#8211; Installation and Setup"}]},{"@type":"WebSite","@id":"https:\/\/kindsonthegenius.com\/apache-spark\/#website","url":"https:\/\/kindsonthegenius.com\/apache-spark\/","name":"Apache Spark Tutorial","description":"Beginner to Expert Apache Spark Tutorial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kindsonthegenius.com\/apache-spark\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kindsonthegenius.com\/apache-spark\/#\/schema\/person\/fc459f22a7e6257cdfb7ea67fc0b44d3","name":"kindsonthegenius","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b9d710de456c3d85e5614c3a6992fa3d527425e2ab32b8bd5d85bfbaa235004b?s=96&d=mm&r=g","caption":"kindsonthegenius"},"url":"https:\/\/kindsonthegenius.com\/apache-spark\/author\/kindsonthegenius-3\/"}]}},"_links":{"self":[{"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":5,"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":155,"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/posts\/146\/revisions\/155"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/apache-spark\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}