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 :: docker-compose ps 
Shell :: terminal remove files starting with 
Shell :: tsc: command not found on arch 
Shell :: pip install geoip2 
Shell :: git ignore except 
Shell :: install docker in kali linux 
Shell :: bash get path of script 
Shell :: minecraft .bat code 
Shell :: linux update command 
Shell :: git remove directory 
Shell :: grep recursive file extension 
Shell :: check user group console linux 
Shell :: linux time set 
Shell :: sound and video on cards will not function until mpv or mplayer is installed 
Shell :: Installing ipython-sql in Jupyter 
Shell :: The framework needs the following extension(s) installed and loaded: intl. at SYSTEMPATHCodeIgniter.php:219 
Shell :: sudo shutdown 
Shell :: install brew on mac 
Shell :: git remove untraked files 
Shell :: brave browser download for linux 
Shell :: bash size file 
Shell :: install axios 
Shell :: zsh list environment variables 
Shell :: WSL connect docker daemon to docker for windows 
Shell :: create a junction in windows 
Shell :: brew install docker 
Shell :: Redis::CommandError: MISCONF Redis is configured to save RDB snapshot 
Shell :: http sever with ssl start 
Shell :: enable ssh ubuntu 
Shell :: how to remove sensitive data from github history 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =