Slashdot Mirror


MapReduce For the Masses With Common Crawl Data

New submitter happyscientist writes "This is a nice 'Hello World' for using Hadoop MapReduce on Common Crawl data. I was interested when Common Crawl announced themselves a few weeks ago, but I was hesitant to dive in. This is a good video/example that makes it clear how easy it is to start playing with the crawl data."

29 comments

  1. Happy Data Mining from the Golden Girls!!11! by Anonymous Coward · · Score: -1, Offtopic

    Thank you for being a friend
    Traveled down the road and back again
    your heart is true you're a pal and a cosmonaut

    And if you threw a party
    Invited everyone you knew
    You would see, the biggest gift would be from me
    and the card attached would say,
    Thank you for being a friend

    1. Re:Happy Data Mining from the Golden Girls!!11! by Anonymous Coward · · Score: 0

      I'm pretty sure the word "Traveled" was not in the original song.

    2. Re:Happy Data Mining from the Golden Girls!!11! by geminidomino · · Score: 1

      Not sure if trolling (if not, well played), but it is.

      Citation

  2. Thanks for posting this.. by kvvbassboy · · Score: 1

    This will be my first (and hopefully not last) headfirst dive into MapReduce.

    1. Re:Thanks for posting this.. by InsightIn140Bytes · · Score: 5, Informative

      Then you probably want to use it with some local data so you don't rack up huge bill. One Hadoop job on the whole dataset costs at least like $200, and that's for simple stuff.

    2. Re:Thanks for posting this.. by kvvbassboy · · Score: 1

      Warning heeded, but I saw this on a blog post at commoncrawl.org.

      This bucket is marked with Amazon Requester-Pays flag, which means all access to the bucket contents requires an an http request that is signed with your Amazon Customer Id. The bucket contents are accessible to everyone, but the Requester-Pays restriction ensures that if you access the contents of the bucket from outside the EC2 network, you are responsible for the resulting access charges. You don’t pay any access charges if you access the bucket from EC2, for example via a map-reduce job, but you still have to sign your access request. Details of the Requeser-Pays API can be found here: http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?RequesterPaysBuckets.html

      If I understood that right, at least getting started with the tutorial will not result in me coughing up $200. Correct me if I am mistaken.

    3. Re:Thanks for posting this.. by InsightIn140Bytes · · Score: 2

      You don't need to pay for accessing it, but you still need to pay for the processing power, storage and RAM in your EC2. Of course you can start by only accessing specific day like in the video so you don't need so much processing power for it, and hence pay less. But then you also won't be able to process 99.9% of the crawl data.

    4. Re:Thanks for posting this.. by symbolset · · Score: 1

      MapReduce is an implementation of an algorithm first presented in a 1970's issue of the ACM. I would commend to startups membership and ownership of the patent-expired content composed therein. There's a lot of untapped potential in there yet - and much dross. If we will stand on the shoulders of giants though it's good to know where the giants were and what they did. Brin was a good scholar here, and Page gave something new. It was the fusion of old ideas and new that made Google. If you want to be the new Google, the ACM journals are a good start. Just remember to add something new too.

      --
      Help stamp out iliturcy.
    5. Re:Thanks for posting this.. by Anonymous Coward · · Score: -1

      porch monkey

    6. Re:Thanks for posting this.. by Anonymous Coward · · Score: 0

      Definitely not $200. I did the tutorial and it cost less than a dollar.

    7. Re:Thanks for posting this.. by Anonymous Coward · · Score: 0

      I'm not sure MapReduce is an algorithm so much as a class of algorithms, or design pattern. The algorithm implemented depends on the Map and Reduce operators used. MapReduce falls out very easily from consideration of which parts of an algorithm can be parallelized. Even embarrassingly parallel algorithms like a raytracer eventually have to combine their results to form a single image. This is all MapReduce is really expressing. I'm sure you can find it before 1970.

  3. LIL KIM KILLS SELF !! by Anonymous Coward · · Score: -1, Offtopic

    And N Korea doesn't notice !!

    Put that in your owndahl heater and smoke it !!

    Long live the king !!

  4. Hot Damn! Now I Can Find All The Pr0n Of My Misspe by MichaelCrawford · · Score: -1, Offtopic

    -nt Youth!

    It's not hard at all to find PDFs of recently published Magazines of Ill Repute, but because what is for little boys and little girls is just an implicit fascination became an explicit one for me in 1976, the magazines that taught me about what awaited me at The Promised Land are very hard to find.

    One can generally find videos as what are called The Classics are now available on DVD and sometimes even on Blu-ray, but Classic Magazines require manual scanning.

    If any of you guys happens to own a copy of the February 1976 Club Magazine USA, I would really like to someday finish reading a short story in which some guy in full SCUBA gear makes love to a rapturously beautiful semitransparent female ghost. I was once a diver myself, and still have my NAUI Open Water Card, but never in my life have I found a wetsuit that was equipped for quite that same kind of diving.

    --
    Request your free CD of my piano music.
  5. Re:Hot Damn! Now I Can Find All The Pr0n Of My Mis by wmbetts · · Score: 1

    So you're hoping to find child porn, ghost fetish stuff, or both?

    --
    "Ubuntu" -- an African word, meaning "Slackware is too hard for me". - stolen from Dan C alt.os.linux.slackware
  6. The models in that mag were all over 18 by MichaelCrawford · · Score: -1, Troll

    Nothing to do with necrophilia, but that was the first time that I ever learned that erotica could be presented in written form. I was heavily into that stuff throughout my teenage years:

    "Dear Pentouse, I Never Thought It Could Happen To Me. I was hanging out at /. when one of the rare lady Slashbots moderated me up to +5, Erect."

    --
    Request your free CD of my piano music.
  7. Greetings for South Korea! by Anonymous Coward · · Score: -1

    We are dancing in the street! What a wonderful day!

  8. No, Really I Am Absolutely Serious by MichaelCrawford · · Score: 0

    The problem I've got is that searches with Google and the like turn up a lot of junk that I'm not looking for, with the file search engines like FilesTube simply ignoring the numeric years specified in my search queries.

    What I want to do is find PDF files of specific issues (Month and Year combinations) of certain magazine titles. But when I try these searches, the results contain a lot of years that I had not specified, with the year I did specify not falling anywhere in the resulting pages.

    There are all kinds of ways I could use a regular expression to turn up the download sites for every magazine I want to find, but to the best of my knowledge none of the currently available search engines can take regular expressions. For example a copy of an old magazine that is available for download will typically be labeled with the file size, so I could include "[0-9]* *[Mm][Bb]" in my query. That would distinguish magazines available for download from those that are merely discussed online.

    Just last night I sat up all night long looking for old magazines, only to turn up two from the era of my interest. There is no end to the pr0n that is available online, but I don't find most of it at all interesting anymore. What I do find interesting is my goal of completely recovering the magazine collection that my ex demanded that I pitch before she would agree to come visit me for the first time.

    --
    Request your free CD of my piano music.
    1. Re:No, Really I Am Absolutely Serious by larry+bagina · · Score: 1

      "index of" and "parent directory" are good terms for finding virtual directory listings.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

  9. How Does One Profile a MapReduce Job? by MichaelCrawford · · Score: 2

    I think any total newbie that tried to process all the crawl data would soon find that his first attempt would not terminate until after The Heat Death of the Universe.

    Surely there must be some doc on how to make such jobs runs faster, use less memory as well as less storage?

    --
    Request your free CD of my piano music.
  10. America, Fuck Yeah! by Luke727 · · Score: -1

    Gary Johnston: We're dicks! We're reckless, arrogant, stupid dicks. And the Film Actors Guild are pussies. And Kim Jong Il is an asshole. Pussies don't like dicks, because pussies get fucked by dicks. But dicks also fuck assholes: assholes that just want to shit on everything. Pussies may think they can deal with assholes their way. But the only thing that can fuck an asshole is a dick, with some balls. The problem with dicks is: they fuck too much or fuck when it isn't appropriate - and it takes a pussy to show them that. But sometimes, pussies can be so full of shit that they become assholes themselves... because pussies are an inch and half away from ass holes. I don't know much about this crazy, crazy world, but I do know this: If you don't let us fuck this asshole, we're going to have our dicks and pussies all covered in shit!

    --
    If you find this post offensive, don't read it! THINK ABOUT YOUR BREATHING! I am what I am because of how apes behave.
  11. You know you're old when by Anonymous Coward · · Score: 0, Interesting

    more than 50% of any given sentence sounds like gibberish. And yet you know someone somewhere is as excited as you were when you got your first floppy drive...

  12. Heh. Now That's Really Funny. Thanks for the Tip! by MichaelCrawford · · Score: 1

    WGet is chugging away even when I speak. I'm gonna have to cough up for more storage.

    Here is an SEO tips for y'all. I didn't discover it, but I stumbled across it just now:

    placing the terms "index of", "parent directory", "name", "last modified", "size" and "description" on your web pages is a real good way to attract visitors.

    I wasn't able to turn up any actual Apache directory listings for Penthouse Pet of the Year Corinne Alphen. They were all your typical pr0n site that not only weren't presenting directory listings, but none of the sites I looked at had any photos of her, scantily clad or otherwise.

    Directory listings for well-known models though, turned right up.

    --
    Request your free CD of my piano music.
  13. Regarding crawling by gajop · · Score: 3, Interesting

    Hmm, similar article so I'll ask a question of personal nature.

    I've recently created a crawler to collect certain information from a website, that would help me gather data sets for a small machine learning project.
    While I've followed robots.txt and nofollow links, site's TOU was against it. After confirming with the admin, I was told that it's not allowed to gather information, as the site owns it (as it's written in the TOU).

    The data however is publicly available, so you actually wouldn't have to agree to a TOU to collect the data, and as it's some data I wanted, I still concluded I should get a small sample (less than 1% of the total data, around 200MB) at least, to see if something's even possible to be done with it.

    What are your thoughts /.? Should I have abandoned the attempt, have I done right or even should I disregard their plead and simply get as much as I please (during a long period of time, as to not hammer on it's bandwidth)?

    1. Re:Regarding crawling by SmurfButcher+Bob · · Score: 1

      Felony.

      --

      help me i've cloned myself and can't remember which one I am

    2. Re:Regarding crawling by AllyGreen · · Score: 1

      If its publicly available, surely you can get the data elsewhere?

  14. cheap ugg boots by Taylorz1 · · Score: -1

    Ha, also pretty good. I recommend a cheap Ugg boots, you are interested to see Kane.cheap ugg boots, http://www.2012cheapugg.com/ugg-kids-boots-5281-classic-short-i-embroidery-chestnut-p-380.html

  15. Re:Heh. Now That's Really Funny. Thanks for the Ti by Anonymous Coward · · Score: 0

    add -.htm? and -.php to your searches

  16. I have no idea by Roachie · · Score: 1

    what this is.

    --
    This sig is not paradoxical or ironic.
  17. Actually, entry Level EC2 is free for 1 year by tlambert · · Score: 1

    Actually, entry Level EC2 is free for 1 year, and has been since Nov. 2010.

    You don't need to pay for accessing it, but you still need to pay for the processing power, storage and RAM in your EC2

    See here:
    http://www.infoworld.com/d/cloud-computing/amazon-web-services-offers-ec2-access-no-charge-531

    -- Terry