“Instal Spark di Mac” Kode Jawaban

Cara Menginstal Spark di 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
Wrong Wombat

Instal Spark di Mac

brew install apache-spark
Shiny Skimmer

Jawaban yang mirip dengan “Instal Spark di Mac”

Pertanyaan yang mirip dengan “Instal Spark di Mac”

Lebih banyak jawaban terkait untuk “Instal Spark di Mac” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya