Reputation: 645
C:\scala\spark-1.6.1-bin-hadoop2.6\spark-1.6.1-bin-hadoop2.6>sbt assembly
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; su port was removed in 8.0
[info] Set current project to spark-1-6-1-bin-hadoop2-6 (in build file:/C:/scal /spark-1.6.1-bin-hadoop2.6/spark-1.6.1-bin-hadoop2.6/)
[error] Not a valid command: assembly
[error] Not a valid project ID: assembly
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: assembly
[error] assembly
[error] ^
Tried everything given on web,still unable to sort out this issue,any help/pointers please ...
"./sbt/sbt assembly" errors "Not a valid command: assembly" for Apache Spark project
above solution is also not working...
Upvotes: 0
Views: 1915
Reputation: 4375
Problem is you have not added sbt-assembly
plugin.
In windows, C:\Users\<username>\.sbt\0.13\plugins\plugins.sbt
and add
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")
then it will work. Explained here
Upvotes: 1