找到Spark的Scala安装

问题描述 投票:1回答:1

我正在使用EMR并且可以发射spark-shell,但我想要运行Scala REPL。目前,当我在scala上输入shell命令时,它说:

-bash: scala: command not found

如何定位和运行Scala REPL,已经安装并配置了Spark

scala amazon-web-services apache-spark emr amazon-emr
1个回答
1
投票

由于已经told by @ernest_kEMR没有安装Scala


话虽如此,我使用this blog中提到的步骤在Scala上安装EMR

# perform customary yum update
sudo yum update

# download Scala installer RPM
wget https://downloads.lightbend.com/scala/2.13.0-M5/scala-2.13.0-M5.rpm

# install Scala RPM
sudo yum install scala-2.12.5.rpm
© www.soinside.com 2019 - 2024. All rights reserved.