๐ŸŒฑ Infra/Hadoop_HDFS

[Spark 3.1] Spark ์„œ๋น„์Šค ํฌํŠธ ๋ฐ ์„ค์ • ์ดํ•ดํ•˜๊ณ  ๋„˜์–ด๊ฐ€๊ธฐ!

mini_world 2021. 4. 29. 20:12
๋ชฉ์ฐจ ์ ‘๊ธฐ

 

Spark ํ”„๋กœ์„ธ์Šค ํ™•์ธํ•˜๊ธฐ

 

1) Master Node

๋งˆ์Šคํ„ฐ ๋…ธ๋“œ์—์„œ๋Š” "Master"๋ผ๋Š” ํ”„๋กœ์„ธ์Šค๊ฐ€ ์‹คํ–‰๋˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

 

2) Worker 01~ 03 Node

์›Œ์ปค๋…ธ๋“œ์—์„œ๋Š” ""Worker"๋ผ๋Š” ํ”„๋กœ์„ธ์Šค๊ฐ€ ์‹คํ–‰๋˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. (Worker 01~03 ๋ชจ๋‘ ๋™์ผํ•˜๋ฏ€๋กœ, ์บก์ณ๋Š” Worker01๋งŒ ๋„ฃ์—ˆ์Šต๋‹ˆ๋‹ค!)

 

 


Spark Service Port

์„œ๋ฒ„ ํฌํŠธ ํŒŒ๋ผ๋ฉ”ํ„ฐ ์„ค์ •ํŒŒ์ผ ์„ค๋ช…
Master 7077 SPARK_MASTER_PORT ${spark_home}/conf/spark-env.sh Spark Master Port
8080 SPARK_MASTER_WEBUI_PORT Master Web UI
Worker01~03 8081 SPARK_WORKER_WEBUI_PORT Worker Web UI
{Random Port} SPARK_WORKER_PORT Worker Port

 


 

728x90