GitHub user ScrapCodes opened a pull request:
https://github.com/apache/spark/pull/552
[WIP] SPARK-1565, update examples to be used with spark-submit script.
Commit for initial feedback, basically I am curious if we should prompt
user for providing args esp. when its mandatory. And can we skip if they are
not ?
Also few other things that did not work like
`bin/spark-submit
examples/target/scala-2.10/spark-examples-1.0.0-SNAPSHOT-hadoop1.0.4.jar
--class org.apache.spark.examples.SparkALS --arg 100 500 10 5 2`
Not all the args get passed properly, may be I have messed up something
will try to sort it out hopefully.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ScrapCodes/spark-1 SPARK-1565/update-examples
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/552.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #552
----
commit 537a0cf66a26754fefc095ce1447f133c4e6b7a5
Author: Prashant Sharma <[email protected]>
Date: 2014-04-25T13:03:44Z
[WIP] SPARK-1565, update examples to be used with spark-submit script.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---