[ 
https://issues.apache.org/jira/browse/SPARK-19769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15888243#comment-15888243
 ] 

Apache Spark commented on SPARK-19769:
--------------------------------------

User 'elmiko' has created a pull request for this issue:
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
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to