dee*_*lue 3 scala sbt apache-spark
我在Ubuntu 13.04上安装Apache Spark时遇到了麻烦.使用im火花0.8.1-孵化,都./sbt/sbt update
和./sbt/sbt compile
正常工作.但是,当我这样做时,./sbt/sbt assembly
我收到以下错误:
[info] Set current project to default-289e76 (in build file:/node-insights/server/lib/spark-0.8.1-incubating/sbt/)
[error] Not a valid command: assembly
[error] Not a valid project ID: assembly
[error] Not a valid configuration: assembly
[error] Not a valid key: assembly
[error] assembly
[error]
Run Code Online (Sandbox Code Playgroud)
我搜索与此相关的东西,但找不到任何有用的东西.任何指导都将非常感谢.
该current project set to default-289e76
消息表明sbt
从Spark源目录外部调用:
$ /tmp ./spark-0.8.1-incubating/sbt/sbt assembly
[info] Loading global plugins from /Users/joshrosen/.dotfiles/.sbt/plugins/project
[info] Loading global plugins from /Users/joshrosen/.dotfiles/.sbt/plugins
[info] Set current project to default-d0f036 (in build file:/private/tmp/)
[error] Not a valid command: assembly
[error] Not a valid project ID: assembly
[error] Not a valid configuration: assembly
[error] Not a valid key: assembly
[error] assembly
[error] ^
Run Code Online (Sandbox Code Playgroud)
./sbt/sbt assembly
从spark-0.8.1-incubating
目录运行正常(请注意显示当前项目设置正确的日志输出):
$ spark-0.8.1-incubating sbt/sbt assembly
[info] Loading global plugins from /Users/joshrosen/.dotfiles/.sbt/plugins/project
[info] Loading global plugins from /Users/joshrosen/.dotfiles/.sbt/plugins
[info] Loading project definition from /private/tmp/spark-0.8.1-incubating/project/project
[info] Loading project definition from /private/tmp/spark-0.8.1-incubating/project
[info] Set current project to root (in build file:/private/tmp/spark-0.8.1-incubating/)
...
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
9931 次 |
最近记录: |