You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
brew install hadoop
vim
/usr/local/Cellar/hadoop/3.1.0/libexec/etc/hadoop/core-site.xml
<configuration><property><name>fs.default.name</name><value>hdfs://localhost:5555</value></property></configuration>
vim /usr/local/Cellar/hadoop/3.1.0/libexec/etc/hadoop/hdfs-site.xml
<configuration><property><name>dfs.replication</name><value>1</value></property></configuration>
vim /usr/local/Cellar/hadoop/3.1.0/libexec/etc/hadoop/mapred-site.xml
<configuration><property><name>mapreduce.framework.name</name><value>yarn</value></property></configuration>
vim /usr/local/Cellar/hadoop/3.1.0/libexec/etc/hadoop/yarn-site.xml
<configuration><property><name>yarn.nodemanager.aux-services</name><value>mapreduce_shuffle</value></property></configuration>
hadoop namenode -format
ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub >>~/.ssh/authorized_keys
vim ~/.bashrc
hadoop-start
port : 9870
Apache Spark: Install & Configuration
brew install apache-spark
cd /usr/local/Cellar/apache-spark/<version>/libexec/conf
cp spark-env.sh.template spark-env.sh
modify spark master web ui port to 8888
vim /usr
# - SPARK_MASTER_PORT / SPARK_MASTER_WEBUI_PORT, to use non-default ports for the master
SPARK_MASTER_PORT=7777
SPARK_MASTER_WEBUI_PORT=8888
vim .bashrc
export PATH="/usr/local/Cellar/apache-spark/<version>/libexec/sbin/:$PATH"
start-master.sh
ui-port: 8888
master-port: 7777