[
https://issues.apache.org/jira/browse/SPARK-19769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-19769.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
2.0.3
2.1.1
Issue resolved by pull request 17101
[https://github.com/apache/spark/pull/17101]
> Quickstart self-contained application instructions do not work with current
> sbt
> -------------------------------------------------------------------------------
>
> Key: SPARK-19769
> URL: https://issues.apache.org/jira/browse/SPARK-19769
> Project: Spark
> Issue Type: Documentation
> Components: Documentation
> Affects Versions: 2.1.0
> Reporter: Michael McCune
> Priority: Trivial
> Fix For: 2.1.1, 2.0.3, 2.2.0
>
>
> The current quickstart instructions for the "Self-Contained Applications"
> instructs the user to create a file named {{simple.sbt}} to instruct the
> build tooling. With current versions of sbt(ie 1.0) however, the tooling does
> not recognize the {{simple.sbt}} file as it is looking for a file named
> {{build.sbt}}.
> When following the quickstart instructions, I see the following output:
> {noformat}
> $ find .
> .
> ./simple.sbt
> ./src
> ./src/main
> ./src/main/scala
> ./src/main/scala/SimpleApp.scala
> [mike@ultra] master ~/workspace/sandbox/SimpleApp
> $ sbt package
> /home/mike/workspace/sandbox/SimpleApp doesn't appear to be an sbt project.
> If you want to start sbt anyway, run:
> /home/mike/bin/sbt -sbt-create
> {noformat}
> Changing the filename to {{build.sbt}} produces a valid build:
> {noformat}
> $ mv simple.sbt build.sbt
> [mike@ultra] master ~/workspace/sandbox/SimpleApp
> $ sbt package
> [info] Set current project to Simple Project (in build
> file:/home/mike/workspace/sandbox/SimpleApp/)
> [info] Updating {file:/home/mike/workspace/sandbox/SimpleApp/}simpleapp...
> [info] Resolving jline#jline;2.12.1 ...
> [info] Done updating.
> [info] Compiling 1 Scala source to
> /home/mike/workspace/sandbox/SimpleApp/target/scala-2.11/classes...
> [info] Packaging
> /home/mike/workspace/sandbox/SimpleApp/target/scala-2.11/simple-project_2.11-1.0.jar
> ...
> [info] Done packaging.
> [success] Total time: 10 s, completed Feb 28, 2017 10:01:58 AM
> {noformat}
> I think the documentation just needs to be changed to reflect the new
> filename.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]