Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install spark on mac

brew install apache-spark
Comment

how to install spark on macos

curl -O https://archive.apache.org/dist/spark/spark-3.2.0/spark-3.2.0-bin-hadoop3.2.tgz
tar xvf spark-3.2.0-bin-hadoop3.2.tgz
sudo mv spark-3.2.0-bin-hadoop3.2/ /opt/spark

echo "export SPARK_HOME=/opt/spark" >> ~/.bashrc
echo "export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin" >> ~/.bashrc
echo "export PYSPARK_PYTHON=/usr/bin/python3" >> ~/.bashrc
echo "export PYTHONPATH=$SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.9.2-src.zip:$PYTHONPATH" >> ~/.bashrc

source ~/.bashrc
Comment

PREVIOUS NEXT
Code Example
Shell :: loopback cli 
Shell :: webgl server apache 
Shell :: are if statements their own scope python 
Shell :: git stash abort 
Shell :: change user default shell 
Shell :: how to kill a process with linux 
Shell :: git list stashes 
Shell :: composer upgrade to 2 
Shell :: update wsl 
Shell :: unknown command "neat" for "kubectl" 
Shell :: run zipkin-server on docker 
Shell :: git checkout single file 
Shell :: bash case 
Shell :: size of folder 
Shell :: tar extract powershell 
Shell :: linux Could not find a version that satisfies the requirement 
Shell :: how to write a shell script in ubuntu 
Shell :: linux activate ssh 
Shell :: gcc 7 install ubuntu 
Shell :: docker install linux mint 
Shell :: directory current in bash 
Shell :: k8 delete deployment 
Shell :: run global packages macos composer 
Shell :: install realtek rtl88xxau usb wifi driver ubuntu 
Shell :: get a remote branch git 
Shell :: linux change azert 
Shell :: ufw allow port from ip 
Shell :: download brew 
Shell :: install spectacle brew 
Shell :: compress directory with tar and bzip2 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =