{"id":180,"date":"2016-07-20T10:58:03","date_gmt":"2016-07-20T10:58:03","guid":{"rendered":"http:\/\/blog.cloudxlab.com\/?p=180"},"modified":"2018-08-21T08:21:37","modified_gmt":"2018-08-21T08:21:37","slug":"access-spark-cloudxlab","status":"publish","type":"post","link":"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/","title":{"rendered":"Access Spark 1.6 and Spark 2.3 on CloudxLab"},"content":{"rendered":"<p>To access Spark 2.3, type below commands in the web console<\/p>\n<ul class=\"ili-indent\">\n<li>pyspark\u00a0(For Python)<\/li>\n<li>spark-shell (For Scala)<\/li>\n<\/ul>\n<p>To access Spark 1.6, first set the version in the web console<\/p>\n<pre class=\"lang:sh decode:true \">export SPARK_MAJOR_VERSION=1<\/pre>\n<p>And then type below commands in the web console<\/p>\n<ul class=\"ili-indent\">\n<li>pyspark\u00a0(For Python)<\/li>\n<li>spark-shell (For Scala)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To access Spark 2.3, type below commands in the web console pyspark\u00a0(For Python) spark-shell (For Scala) To access Spark 1.6, first set the version in the web console export SPARK_MAJOR_VERSION=1 And then type below commands in the web console pyspark\u00a0(For Python) spark-shell (For Scala)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Access Spark 1.6 and Spark 2.3 on CloudxLab | CloudxLab Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Access Spark 1.6 and Spark 2.3 on CloudxLab | CloudxLab Blog\" \/>\n<meta property=\"og:description\" content=\"To access Spark 2.3, type below commands in the web console pyspark\u00a0(For Python) spark-shell (For Scala) To access Spark 1.6, first set the version in the web console export SPARK_MAJOR_VERSION=1 And then type below commands in the web console pyspark\u00a0(For Python) spark-shell (For Scala)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudxLab Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cloudxlab\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-20T10:58:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-21T08:21:37+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CloudxLab\" \/>\n<meta name=\"twitter:site\" content=\"@CloudxLab\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#website\",\"url\":\"https:\/\/cloudxlab.com\/blog\/\",\"name\":\"CloudxLab Blog\",\"description\":\"Learn AI, Machine Learning, Deep Learning, Devops &amp; Big Data\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/cloudxlab.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/#webpage\",\"url\":\"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/\",\"name\":\"Access Spark 1.6 and Spark 2.3 on CloudxLab | CloudxLab Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/#website\"},\"datePublished\":\"2016-07-20T10:58:03+00:00\",\"dateModified\":\"2018-08-21T08:21:37+00:00\",\"author\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/#\/schema\/person\/0efa3c54df68406de820ea466f002d3c\"},\"breadcrumb\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/\",\"url\":\"https:\/\/cloudxlab.com\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/access-spark-cloudxlab\/#webpage\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#\/schema\/person\/0efa3c54df68406de820ea466f002d3c\",\"name\":\"Abhinav Singh\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fc74fe31169bf872f6ab11bbab621d53?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fc74fe31169bf872f6ab11bbab621d53?s=96&d=mm&r=g\",\"caption\":\"Abhinav Singh\"},\"sameAs\":[\"https:\/\/cloudxlab.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/180"}],"collection":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":28,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":1458,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions\/1458"}],"wp:attachment":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}