[jira] [Commented] (NUTCH-1457) Nutch2 Refactor the update process so that fetched items are only processed once

2013-07-30 Thread Ferdy Galema (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13723956#comment-13723956
 ] 

Ferdy Galema commented on NUTCH-1457:
-

Hi,

Thanks for submitting the patch. It seems that patch Nutch-2.2.1 can be applied 
to the current 2.x branch. (With the command patch -p0  NUTCH-1457...).

The changes look all valid. However I haven't tested it by running testcrawls. 
I try to get it up and running in a while. Or otherwise if anyone else is able 
to do some testing and/or committing feel free to do so.

 Nutch2 Refactor the update process so that fetched items are only processed 
 once
 

 Key: NUTCH-1457
 URL: https://issues.apache.org/jira/browse/NUTCH-1457
 Project: Nutch
  Issue Type: Improvement
Reporter: Ferdy Galema
 Fix For: 2.4

 Attachments: CrawlStatus.java, DbUpdateReducer.java, 
 GeneratorMapper.java, GeneratorReducer.java, NUTCH-1457(Nutch-2.1).patch, 
 NUTCH-1457(Nutch-2.1)-src.zip, NUTCH-1457(Nutch-2.2.1).patch, 
 NUTCH-1457(Nutch-2.2.1)-src.zip




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1457) Nutch2 Refactor the update process so that fetched items are only processed once

2013-07-24 Thread Riyaz Shaik (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13718439#comment-13718439
 ] 

Riyaz Shaik commented on NUTCH-1457:


Hi Ferdy/Lewis,

It seems trunk has the Nutch-1.4 version code as per the SVN check-in logs and 
mail archives.

http://www.mail-archive.com/dev@nutch.apache.org/msg04348.html


I had created patches for the branches : *Nutch-2.1* and *Nutch-2.2.1*

Attached the modified source code files as a Zip and patches.

(on) Patch contains following fixes other than NUTCH-1457:

(+) org.apache.nutch.crawl.AbstractFetchSchedule
 * Fix for resetting fetchTime to currentTime, if the *??fetchTime-currTime  
maxInterval??*. Since *“shouldFetch”* method returning false even after setting 
the new fetchTime to page. So, that new fetchTime changes will not be available 
to GeneratorReducer to persist the changes in HBase.

(+) org.apache.nutch.parse.ParseUtil
 * Moved the page signature calculation code(a line of code).
Existing code calculating the page signature without parsed plain text(Ex: from 
HTMLParser), that causes signature calculation on entire page content even 
after enabling the “org.apache.nutch.crawl.TextProfileSignature”.

Can you please validate the changes?.

Thanks
Riyaz


 Nutch2 Refactor the update process so that fetched items are only processed 
 once
 

 Key: NUTCH-1457
 URL: https://issues.apache.org/jira/browse/NUTCH-1457
 Project: Nutch
  Issue Type: Improvement
Reporter: Ferdy Galema
 Fix For: 2.4

 Attachments: CrawlStatus.java, DbUpdateReducer.java, 
 GeneratorMapper.java, GeneratorReducer.java




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1457) Nutch2 Refactor the update process so that fetched items are only processed once

2013-07-05 Thread Riyaz Shaik (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13700965#comment-13700965
 ] 

Riyaz Shaik commented on NUTCH-1457:


Hi,

Is it possible to have a simple logic like (fetchTime  currentTime) don't 
set/modify the FetchSchedule in DbUpdateReducer?

Thanks
Riyaz

 Nutch2 Refactor the update process so that fetched items are only processed 
 once
 

 Key: NUTCH-1457
 URL: https://issues.apache.org/jira/browse/NUTCH-1457
 Project: Nutch
  Issue Type: Improvement
Reporter: Ferdy Galema
 Fix For: 2.4




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1457) Nutch2 Refactor the update process so that fetched items are only processed once

2012-11-08 Thread Alexander Kingson (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13493413#comment-13493413
 ] 

Alexander Kingson commented on NUTCH-1457:
--

Hi,

Could you please give me more details on this. It is my understanding that in 
Nutch-1.x only generated in each step urls are updated by updatedb and to 
implement the same processing in Nutch-2.x is to add batchId to updatedb 
command.

Thanks.
Alexander.

 Nutch2 Refactor the update process so that fetched items are only processed 
 once
 

 Key: NUTCH-1457
 URL: https://issues.apache.org/jira/browse/NUTCH-1457
 Project: Nutch
  Issue Type: Improvement
Reporter: Ferdy Galema



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1457) Nutch2 Refactor the update process so that fetched items are only processed once

2012-11-08 Thread Ferdy Galema (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13493565#comment-13493565
 ] 

Ferdy Galema commented on NUTCH-1457:
-

There is a limited description of the Nutch2 DbUpdater here:
http://wiki.apache.org/nutch/Nutch2Crawling#DbUpdate

Basically all outlinks of the table are needed (they are outputted in the 
Mapper), so that they will be available as inlinks in the Reducer. They are 
needed to correctly update the Score for each row. This may or may not be 
important in some cases, but for a correct calculation of Score all 
rows+outlinks are needed.

My suggestion for this issue is to move some of the processing of the DbUpdater 
job to the Fetcher. Namely the updating of the fetchstatus and fetchtime. Then 
it is possible to run the DpUpdater job many times without pushing fetchtime 
far into the future. Slighly related, there should be an extra field to 
distinct between when was this item fetched and when should it be fetched. 
Now both this information is stored in the single field fetchtime.

 Nutch2 Refactor the update process so that fetched items are only processed 
 once
 

 Key: NUTCH-1457
 URL: https://issues.apache.org/jira/browse/NUTCH-1457
 Project: Nutch
  Issue Type: Improvement
Reporter: Ferdy Galema



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1457) Nutch2 Refactor the update process so that fetched items are only processed once

2012-11-06 Thread Ferdy Galema (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491289#comment-13491289
 ] 

Ferdy Galema commented on NUTCH-1457:
-

Hi,

Not really because with a partial update set, only a partial inlink set with be 
created in the update-reducer.

 Nutch2 Refactor the update process so that fetched items are only processed 
 once
 

 Key: NUTCH-1457
 URL: https://issues.apache.org/jira/browse/NUTCH-1457
 Project: Nutch
  Issue Type: Improvement
Reporter: Ferdy Galema



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1457) Nutch2 Refactor the update process so that fetched items are only processed once

2012-11-05 Thread Alexander Kingson (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491124#comment-13491124
 ] 

Alexander Kingson commented on NUTCH-1457:
--

Can we use batchId in update command and update only those entries that has the 
given batchId as generate_mark value?

 Nutch2 Refactor the update process so that fetched items are only processed 
 once
 

 Key: NUTCH-1457
 URL: https://issues.apache.org/jira/browse/NUTCH-1457
 Project: Nutch
  Issue Type: Improvement
Reporter: Ferdy Galema



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NUTCH-1457) Nutch2 Refactor the update process so that fetched items are only processed once

2012-10-08 Thread Ferdy Galema (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13471480#comment-13471480
 ] 

Ferdy Galema commented on NUTCH-1457:
-

Included effort is resolving the conflict of time the document was fetched 
and the time the document ought to be fetched.

 Nutch2 Refactor the update process so that fetched items are only processed 
 once
 

 Key: NUTCH-1457
 URL: https://issues.apache.org/jira/browse/NUTCH-1457
 Project: Nutch
  Issue Type: Improvement
Reporter: Ferdy Galema



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira