Did you run sbt under /home/filip/spark-ex-regression ?

'~/git/spark/data/mllib/sample_linear_regression_data.txt' was interpreted
as rooted under /home/filip/spark-ex-regression

Cheers


On Sat, Aug 30, 2014 at 9:28 AM, filipus <floe...@gmail.com> wrote:

> compilation works but execution not at least with spark-submit as I
> described
> above
>
> when I make a local copy of the training set I can execute sbt "run file"
> which works
>
> sbt "run sample_linear_regression_data.txt"
>
> when I do
>
> sbt "run ~/git/spark/data/mllib/sample_linear_regression_data.txt"
>
> the program fails because it doesnt find any traning set at
>
> [error] (run-main-0) org.apache.hadoop.mapred.InvalidInputException: Input
> path does not exist:
>
> file:*/home/filip/spark-ex-regression/*~/git/spark/data/mllib/sample_linear_regression_data.txt
> org.apache.hadoop.mapred.InvalidInputException: Input path does not exist:
>
> file:/home/filip/spark-ex-regression/~/git/spark/data/mllib/sample_linear_regression_data.txt
>
> ps: does anybody knows where in the program "LinearRegression.scala" it
> specifies the PATH or has it to do with "sbt"???
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/org-apache-spark-examples-xxx-tp13052p13180.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>
>

Reply via email to