当前位置:网站首页>Pseudo Distributed installation spark
Pseudo Distributed installation spark
2022-04-23 16:39:00 【sparename】
spark install ( Pseudo Distributed installation )
Upload files
use xtfp Upload the file to /root/softwares
The configuration file
cd /root/softwares
# decompression
tar -zxvf spark-2.4.0-bin-hadoop2.7.tgz -C /usr/local/
cd /usr/local/
# rename
mv spark-2.4.0-bin-hadoop2.7/ spark-2.4.0
cd spark-2.4.0/conf/
# To configure spark-env.sh file
cp spark-env.sh.template spark-env.sh
vim spark-env.sh
<!-- Master node IP-->
export SPARK_MASTER_HOST=192.168.239.239
<!-- Task submission port -->
export SPARK_MASTER_PORT=7077
<!-- Every worker Use 2 nucleus , It depends on the kernel when your virtual machine is created -->
export SPARK_WORKER_CORES=2
<!-- Every worker Use 3g Memory , It depends on the memory when your virtual machine is created -->
export SPARK_WORKER_MEMORY=1g
<!-- modify spark The default port of the monitoring window is 8080-->
export SPARK_MASTER_WEBUI_PORT=8888
# To configure slaves file
cp slaves.template slaves
vi slaves
# Default slaves Now let's have a mainframe
# Because it is equipped with a single machine , Not the cluster , So there's no need to Slaves( To configure worker Slave node ), Namely localhost, Don't change the settings
# To spark-config.sh To configure jdk environment variable
cd /usr/local/spark-2.4.0/sbin/
vim spark-config.sh
export JAVA_HOME=/usr/local/jdk1.8.0_171
start-up spark
To the master node spark Of sbin Run under
./start-all.sh
# Check the process
jps
#shell operation
cd /usr/local/spark-2.4.0/bin/
./spark-shell
# visit , Verify success
http://192.168.239.239:4040/executors/
http://192.168.239.239:8080/
版权声明
本文为[sparename]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231631547869.html
边栏推荐
- On the value, breaking and harvest of NFT project
- RAID磁盘阵列与RAID5的创建
- Solution of garbled code on idea console
- 无线鹅颈麦主播麦手持麦无线麦克风方案应当如何选择
- Phpstudy V8, a commonly used software for station construction 1 graphic installation tutorial (Windows version) super detailed
- Gartner publie une étude sur les nouvelles technologies: un aperçu du métacosme
- Using JSON server to create server requests locally
- 100 deep learning cases | day 41 - convolutional neural network (CNN): urbansound 8K audio classification (speech recognition)
- You need to know about cloud disaster recovery
- Ali developed three sides, and the interviewer's set of combined punches made me confused on the spot
猜你喜欢
Force buckle-746 Climb stairs with minimum cost
Detailed explanation of file operation (2)
Sail soft implements a radio button, which can uniformly set the selection status of other radio buttons
MySql主从复制
Xinwangda: HEV and Bev super fast charging fist products are shipped on a large scale
Selenium IDE and XPath installation of chrome plug-in
RAID磁盘阵列与RAID5的创建
Hyperbdr cloud disaster recovery v3 Version 2.1 release supports more cloud platforms and adds monitoring and alarm functions
Summary according to classification in sail software
Day 9 static abstract class interface
随机推荐
力扣-746.使用最小花费爬楼梯
文件操作详解(2)
Day 9 static abstract class interface
Change the icon size of PLSQL toolbar
ESXi封装网卡驱动
Questions about disaster recovery? Click here
The most detailed Backpack issues!!!
Query the data from 2013 to 2021, and only query the data from 2020. The solution to this problem is carried out
MySQL的btree索引和hash索引区别
Hyperbdr cloud disaster recovery v3 Release of version 3.0 | upgrade of disaster recovery function and optimization of resource group management function
Install MySQL on MAC
File upload and download of robot framework
Download and install mongodb
[pyGame games] how did angry birds, a mobile game that became popular all over the world 10 years ago, dominate the list? Classic return
Set cell filling and ranking method according to the size of the value in the soft report
众昂矿业:萤石浮选工艺
Cloud migration practice in the financial industry Ping An financial cloud integrates hypermotion cloud migration solution to provide migration services for customers in the financial industry
Xinwangda: HEV and Bev super fast charging fist products are shipped on a large scale
JMeter installation tutorial and solutions to the problems I encountered
What is homebrew? And use