You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Ferdy Galema (JIRA)" <ji...@apache.org> on 2012/08/15 14:20:38 UTC

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

Ferdy Galema created NUTCH-1457:
-----------------------------------

             Summary: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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

Posted by "Alexander Kingson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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

Posted by "Alexander Kingson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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

Posted by "Ferdy Galema (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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

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

Posted by "Ferdy Galema (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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

Posted by "Ferdy Galema (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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