建立火花jobserver使用SBT和Scala [英] Building spark-jobserver Using SBT and Scala
本文介绍了建立火花jobserver使用SBT和Scala的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以提出我关于火花jobserver一个更好的文档。我已经通过URL 火花jobserver 但无法遵循相同。这将是巨大的,如果有人解释如何使用火花jobserver一步一步的指导。
Can anyone suggest me a better documentation about spark-jobserver. I have gone through the url spark-jobserver but unable to follow the same. It will be great if some one explain step by step instruction on how to use spark-jobserver.
工具。
- SBT发射版本0.13.5
- 斯卡拉code亚军版本2.11.6
通过上面提到的工具我得到的错误,同时建立火花jobserver。
With the above mentioned tools I am getting errors while building the spark-jobserver.
推荐答案
下面是我用来安装步骤:
Here are the steps that I used to install:
- 克隆jobserver回购。
- 获取SBT使用
wget的https://dl.bintray.com/sbt/native-packages/sbt/0.13.8/sbt-0.13.8.tgz
- 将SBT-launch.jar在SBT / bin中为/ bin
- 创建一个脚本/斌/舒巴坦,内容发现这里,并确保在必要 来指针更改到Java
- 请上面的脚本执行
- 现在,cd到火花jobserver目录,然后运行
SBT发布本地
- 假设上面是成功的,在同一个目录下运行
SBT
- 最后,使用命令
重新启动
,如果它成功的服务器现在运行的!
- Clone the jobserver repo.
- Get sbt using
wget https://dl.bintray.com/sbt/native-packages/sbt/0.13.8/sbt-0.13.8.tgz
- Move "sbt-launch.jar" in sbt/bin to /bin
- Create a script /bin/sbt, contents found here, making sure to change the pointer to java if necessary
- Make the above script executable
- Now cd into the spark jobserver directory, and run
sbt publish-local
- Assuming the above was successful, run
sbt
in the same directory - Finally, use the command
re-start
, and if it succeeds the server is now running!
这篇关于建立火花jobserver使用SBT和Scala的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文