问题描述
我是一个刚起步的新手。在我们的ubuntu服务器中,我看到已经下载了APACHE-SPARK
。我的问题如下
1)我是否在使用下面的正确命令查找是否安装了火花?
spark-submit --version #spark-submit: command not found
spark-shell --version #spark-shell: command not found
spark-sql --version #spark-sql: command not found
whereis spark-shell #produces directory path of spark folder
sc.getConf.get("spark.home") #-bash: Syntax error near unexpected token `"spark.home"'
2)如果已安装并部署,如何找到部署模式?
我发现有standalone
,yarn
和mesos
之类的东西。这里我已经提到了post,但它显示了WebUI。我怎么知道如何在服务器中找到spark的部署模式?
3)像其他任何普通安装应用程序一样发火花
我相信在安装spark
时,只能按照standalone
,yarn
,mesos
等任何一种模式进行部署。知道spark只能以集群模式部署,而这些是集群类型的不同类型?
3)如何访问Spark UI?
I tried the below command,but it doesn't produce any output.
jps -lm | grep spark
/tmp/spark-*.pid
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)