<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Apache spark ubuntu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/apache-spark-ubuntu-20-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 10 Dec 2020 22:57:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Apache Spark On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-apache-spark-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-apache-spark-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Thu, 17 Dec 2020 06:15:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache spark ubuntu 20.04]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[How To Install Apache Spark On Ubuntu 20.04]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=26169</guid>

					<description><![CDATA[<p>In this article you&#8217;ll learn that how to install Apache Spark On Ubuntu 20.04. Apache Spark is most powerful cluster computing system that gives high level API&#8217;s in Java, Scala &#38; Python. It provides high level tools with advanced techniques like SQL,MLlib,GraphX &#38; Spark Streaming. So, follow the below steps for an easy &#38; optimal [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apache-spark-on-ubuntu-20-04/">How To Install Apache Spark On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this article you&#8217;ll learn that how to install Apache Spark On Ubuntu 20.04. Apache Spark is most powerful cluster computing system that gives high level API&#8217;s in Java, Scala &amp; Python. It provides high level tools with advanced techniques like SQL,MLlib,GraphX &amp; Spark Streaming. So, follow the below steps for an easy &amp; optimal installation of Apache Spark.</p>



<h3>Step 1: Update Your System</h3>



<p>As usual we do, update your system before installing any new package.</p>



<pre class="wp-block-preformatted">sudo apt update &amp;&amp; sudo apt upgrade -y</pre>



<p>Once the update finished, reboot your system.</p>



<pre class="wp-block-preformatted">sudo reboot</pre>



<h3>Step 2: Install Java On Ubuntu 20.04</h3>



<p>As apache spark needs Java to operate, install it by typing</p>



<pre class="wp-block-preformatted">sudo apt install default-jdk</pre>



<p>Verify the installed java version by typing.</p>



<pre class="wp-block-preformatted">sabi@Ubuntu20:~$ <strong>java -version</strong>
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)</pre>



<h3>Step 3: Download &amp; Install Apache Spark On Ubuntu 20.04</h3>



<p>Fire the below command in your terminal to download the latest version of Apache spark or visit the official page to download manually.</p>



<pre class="wp-block-preformatted">wget https://www.apache.org/dyn/closer.lua/spark/spark-3.0.1/spark-3.0.1-bin-hadoop2.7.tgz<br>tar xvzf spark-3.0.1-bin-hadoop2.7.tgz<br>sudo mv spark-3.0.1-bin-hadoop2.7/ /opt/spark</pre>



<p>Now, configure the apache environment.</p>



<pre class="wp-block-preformatted">sudo nano ~/.bashrc</pre>



<p>And add the environment variable into the file.</p>



<pre class="wp-block-preformatted">export SPARK_HOME=/opt/spark<br>export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin</pre>



<p>Finally source the file by typing</p>



<pre class="wp-block-preformatted">source ~/.bashrc</pre>



<h3>Step 4: Starting Spark Master Server</h3>



<p>You can start the Apache Spark Master server by typing the following command in your terminal.</p>



<pre class="wp-block-preformatted">start-master.sh</pre>



<h3>Step 5: Access Apache Spark Via Web Interface</h3>



<p>Go to your browser and type your server IP with port 8080 to access apache spark web interface.</p>



<pre class="wp-block-verse"><a href="http://osradar.com">http://127.0.0.1:8080/</a></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="792" height="549" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-4.png" alt="" class="wp-image-26265" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-4.png 792w, https://www.osradar.com/wp-content/uploads/2020/12/image-4-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-4-768x532.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-4-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2020/12/image-4-696x482.png 696w" sizes="(max-width: 792px) 100vw, 792px" /></figure>



<p>To start a new slave server under this Master server, type the following command.</p>



<pre class="wp-block-preformatted">start-slave.sh spark://ubuntu1:7077</pre>



<p>Reload the web page and you&#8217;ll see the slave server running.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="780" height="317" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-5.png" alt="" class="wp-image-26266" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-5.png 780w, https://www.osradar.com/wp-content/uploads/2020/12/image-5-300x122.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-5-768x312.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-5-696x283.png 696w" sizes="(max-width: 780px) 100vw, 780px" /></figure>



<p>Finally finish the config &amp; hit the below command to verify the installation.</p>



<p>So, this is how you can install Apache Spark on Ubuntu 20.04</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apache-spark-on-ubuntu-20-04/">How To Install Apache Spark On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-apache-spark-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
