Install spark and ubuntuspark in ubuntu

Source: Internet
Author: User

Install spark and ubuntuspark in ubuntu

1. Prepare the environment first. You need a JAVA environment and a Python environment (which will be available by default)

Configure JAVA environment variables after downloading JDK in JAVA

1 export JAVA_HOME =/opt/jdk1.8.0 _ 452 3 export JRE_HOME =$ {JAVA_HOME}/jre4 5 export CLASSPATH =.: $ {JAVA_HOME}/lib :$ {JRE_HOME}/lib6 7 export PATH =$ {JAVA_HOME}/bin :$ {JRE_HOME}/bin: $ PATH

2. Download spark and configure Variables

1 export SPARK_HOME =/opt/spark-hadoop/

 

Restart, test, and fix the problem;

 

Reference http://www.open-open.com/lib/view/open1432192407317.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.