Spark cluster deployment and applications

Source: Internet
Author: User

I. Overview of the Environment:

192.168.1.2 Master

192.168.1.3 worker

192.168.1.4 worker


Second, Scala environment settings

[[Email protected] ~]# tar zxvf scala-2.10.4.tgz-c/home/hadoop/[[email protected] ~]# Cd/home/hadoop/[[email protected] hadoop]# ln-s scala-2.10.4 scala[[email protected] ~]# chown-r hadoop.hadoop/home/hadoop/# scalaexport Scala_home=/hom E/hadoop/scalaexport path= $PATH: $HADOOP _dev_home/sbin: $HADOOP _dev_home/bin: $SCALA _home/bin[[email protected] hadoop]# SOURCE/HOME/HADOOP/.BASHRC [[email protected] hadoop]# su-hadoop[[email protected] ~]$ scalawelcome to Scala V Ersion 2.10.4 (Java HotSpot (TM) 64-bit Server VM, Java 1.7.0_25). Type in expressions to has them evaluated. Type:help for more information.scala> # Slave1,slave2 perform the same action

Third, spark installation



Spark cluster deployment and applications

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.