-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working example/generic usecase #46
Comments
What exactly are you trying to do? There are "apps" that have example code in them or you can use those drivers directly on your data. E.g. https://github.com/soundcloud/spark-pagerank/blob/master/src/main/scala/com.soundcloud.spark.pagerank/PageRankApp.scala#L68-L91 Do you want to build a graph or just run PageRank on an existing graph? Check out the drivers. |
See: https://github.com/soundcloud/spark-pagerank#usage Feel free to do a PR to improve the documentation if you think there is something that can be clearer. I prefer not putting code in the README as it can drift from the implementation since it's not under test. |
Thank you for your reply. I went through the usage file and had doubts, created this question. I have a TSV file with (src, dst, weights). Downloaded the .jar file. My aim is to form a graph and run the weighted page rank. I followed the documentation and went through some code but this gives me an error :-
Just wanted to see an example which could help me understand how to run the apps on my data. Many thanks ! |
You need to submit a Spark job with the |
This seems to be great. Can you provide a few lines of code of a working example for this so it becomes easier to use for first-timers.
Thanks for the hep !
The text was updated successfully, but these errors were encountered: