See my answers below.

Kim

On 03/11/2012 11:57 PM, nannuli wrote:
Hello,

I am quite newbie with Hadoop but I have done 2 years of Java Prog. Anyway,
I have a question:

1. once Job is started, does MAP -method read only once its needed data from
input -hdfs folder (for example) or does it update data needed to be
processed every now and then from Input folder ?
I've written a crawl using Hadoop, and usually what I've seen by looking at other solutions and my own is that you end up having several cycles of map / reduce.

So the first page will output links to say 8 other locations. And that is your first job.

The second job will now process the 8 other locations.
2. I am trying to, against Hadoop normal usage, build a webcrawler partly
based on Hadoop tech. So Map method would read first one url from input
folder, search all links and reduce would save them and this loop would go
on and on as long as all links are extracted ..
That is the basic idea, but you need to scrub against the links already crawled to prevent an infinite loop.
What do you think ? I have done "normal crawler" and it is working somehow
but its hard to utilize all lan machine without hadoop kind of tech ..

Yours,

Petri

Reply via email to