Hey AJ, As I can see your path when running sbt is:
> $root/spark/spark-examples: sbt/sbt package You should be within the app's folder that contains the simple.sbt, which is spark-standalone/; > $root/spark/spark-examples/spark-standalone: sbt/sbt package > $root/spark/spark-examples/spark-standalone: sbt/sbt run Don't forget to move the sbt folder within your app's directory. That being said, I think you can install sbt globally on your system so you'll be able to run the sbt command everywhere on your PC. It'll be useful when creating multiple apps. For example, the way I'm building it from A to Z: $ git clone https://github.com/ngarneau/spark-standalone.git $ cd spark-standalone -- change the path of spark's home dir $ sbt package (assuming sbt is installed globally) $ sbt run (assuming sbt is installed globally) Hope this helps! Le 2014-05-03 à 13:38, Ajay Nair <prodig...@gmail.com> a écrit : > Quick question, where should I place your folder. Inside the spark directory. > My Spark directory is in /root/spark > So currently I tried pulling your github code in /root/spark/spark-examples > and modified my home spark directory in the scala code. > I copied the sbt folder within the spark-examples folder. But when I try > running this command > > $root/spark/spark-examples: sbt/sbt package > > awk: cmd. line:1: fatal: cannot open file `./project/build.properties' for > reading (No such file or directory) > Launching sbt from sbt/sbt-launch-.jar > Error: Invalid or corrupt jarfile sbt/sbt-launch-.jar > > > However the sbt package runs fines (Expectedly) when i run it from > /root/spark folder. > > Anything I am doing wrong here? > > > > > > -- > View this message in context: > http://apache-spark-developers-list.1001551.n3.nabble.com/Apache-Spark-running-out-of-the-spark-shell-tp6459p6465.html > Sent from the Apache Spark Developers List mailing list archive at Nabble.com. > Nicolas Garneau ngarn...@ngarneau.com