-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allowing AWS, updating links #6
Conversation
Let me know what you think, @ruebot – keep it as one repo, or spin off as a separate one. I've tested and it works well on AWS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me make a side PR before I merge this to update local to Ubuntu 16.04, and when that happens the documentation will be consistent w/r/t username changing from vagrant to ubuntu, and making sure the code works. Hopefully I can get this done by end of day tomorrow.
...also, nice work! We're gonna make a DevOps engineer out of you 😄
Actually, you might be able to do this yourself with one tiny change.
Hah thanks @ruebot – have been learning a lot the past few weeks on this end. I can try to look into 16.04 myself, actually, could be a good chance to learn a bit more. |
@ianmilligan1 can you edit ...and if you want to go a step further, you can do DigitalOcean like this. (We yanked our aws config a while back, otherwise I would have just told you to steal from there:smile:.) |
|
Warcbase didn't build for me. I'm about to disappear to a few meetings, but I'll troubleshoot in the late afternoon. |
OK cool. I will try to build locally and see what's up in the meantime. It works on AWS but must have broken something locally.. |
Just ran via Just ran and tested via Spark Shell and Notebook, both execute sample scripts well. This ran on both. import org.warcbase.spark.matchbox._
import org.warcbase.spark.rdd.RecordRDD._
val r = RecordLoader.loadArchives("/home/ubuntu/project/warcbase-resources/Sample-Data/ARCHIVEIT-227-UOFTORONTO-CANPOLPINT-20060622205612-00009-crawling025.archive.org.arc.gz", sc)
.keepValidPages()
.map(r => ExtractDomain(r.getUrl))
.countItems()
.take(10) |
Cool. We're good to go. I'll create a separate ticket to update the lessonplan. |
Just a pull request that does the following:
ubuntu
;This lets us spin them up in the cloud.
I don't think we have any workshops ahead, so we could repurpose this as a general purpose warcbase repo. Alternatively, happy to migrate this over to a new repo if we want a cloud specific one.