bashrc Then press i(for insert) -> then Enter below line at the bottom of the file.export JAVA_HOME= /usr/lib/jvm/java-8-oracle/ export PATH=$PATH:$JAVA_HOME/binBelow is the screen shot of that.Then Press Esc -> wq! (For save the changes) -> Enter.c. bashrc file.bashrc file executes whenever we open the terminal.b. It looks like belowNow we need to configure the JAVA_HOME path in. Install java8 using below command.sudo apt-get install oracle-java8-installerAbove command creates java-8-oracle Directory in /usr/lib/jvm/ directory in your machine.
If not installed, please follow below process to install java8 in your Ubuntu System.a. It also supports a rich set of higher-level tools including Spark SQL for SQL and structured data processing, MLlib for machine learning, GraphX for graph processing, and Spark Streaming.In this article, we will cover the installation procedure of Apache Spark on the Ubuntu operating system.PrerequisitesThis guide assumes that you are using Ubuntu and Hadoop 2.7 is installed in your system.Java8 should be installed in your Machine.Hadoop should be installed in your Machine.System requirementsUbuntu OS Installed.Minimum of 8 GB RAM.At least 20 GB free space.Installation ProcedureMaking system readyBefore installing Spark ensure that you have installed Java8 in your Ubuntu Machine. It provides high-level APIs in Java, Scala, Python and R, and an optimized engine that supports general execution graphs.
#How to install apache spark in ubuntu how to#
How to Install Spark on Ubuntu By Ravichandra Reddy Maramreddy Apache Spark is a fast and general-purpose cluster computing system.