In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to build spark cluster". In daily operation, I believe many people have doubts about how to build spark cluster. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "how to build spark cluster". Next, please follow the editor to study!
Configure linux
Install epel
Add epel source time under CentOS6.5: 2014-09-20 01:46 Source: cnblogs author: born my talent P useful tip click: 22665 times 0. Install yum priority plug-in yum install yum-priorities1.epel introduction: https://fedoraproject.org/wiki/EPEL/zh-cnrpm-Uvh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm-Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm above URL please modify 2. Check to see if rpm-Q epel-release 3. Import key:rpm-- import / etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-64. Modify / etc/yum.repos.d/epel.repo file to add an attribute priority=11vi / etc/yum.repos.d/epel.repo at the end of [epel]. It means that yum goes to the official source first, but the official does not go to the source of epel to find 5. Rebuild cache yum makecache
Configure the environment
Scp root@10.10.11.191:/root/Download/jdk.tar.gz jdk.tar.gzscp root@10.10.11.191:/root/Download/apache-maven-3.3.9-bin.tar.gz apache-maven-3.3.9-bin.tar.gzscp root@10.10.11.191:/root/Download/spark-2.0.1-SNAPSHOT-bin-nevermore-spark.tgz spark-2.0.1-SNAPSHOT-bin-nevermore-spark.tgzvi / etc/profile+++JAVA_HOME=/opt/env/jdk1.7.0_79MAVEN_HOME=/opt/env/maven-3.3.9CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jarPATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATHexport JAVA_HOMEexport CLASSPATH:wqsource / etc/profilevi / etc/hosts10.10.11.191 spark.env:wqssh-keygen-t rsatouch / root/.ssh/authorized_keyschmod 600 ~ / .ssh/authorized_keys./sbin/start- Slave.sh spark://spark.env:7077 has come here The study on "how to build a spark cluster" is over. I hope I can solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.