You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (Created) (JIRA)" <ji...@apache.org> on 2012/03/06 01:35:59 UTC
[jira] [Created] (NUTCH-1299) NPE in LinkRank inverter
NPE in LinkRank inverter
------------------------
Key: NUTCH-1299
URL: https://issues.apache.org/jira/browse/NUTCH-1299
Project: Nutch
Issue Type: Bug
Affects Versions: 1.4
Reporter: Markus Jelsma
Assignee: Markus Jelsma
Priority: Critical
Fix For: 1.5
No Node object is passed from the inverter's mapper to the reducer, which expects one, causing the following exception:
{code}
java.lang.NullPointerException
at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:409)
at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:356)
at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:519)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:420)
at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
at org.apache.hadoop.mapred.Child.main(Child.java:249)
{code}
This never happens unless you have a funky web graph. Our web graph changes frequently, adding and deleting records. It's likely a large number of records deleted from the outlink database is responsible for this. This error, however, only showed up now, a great deal of time after we began deleting records.
--
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] [Updated] (NUTCH-1299) NPE in LinkRank inverter
Posted by "Markus Jelsma (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated NUTCH-1299:
---------------------------------
Attachment: NUTCH-1299-1.5-1.patch
Most likely solution is to check whether a LoopSet enters the reducer without an accompanying Node or LinkDatum object, which are mandatory.
> NPE in LinkRank inverter
> ------------------------
>
> Key: NUTCH-1299
> URL: https://issues.apache.org/jira/browse/NUTCH-1299
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Critical
> Fix For: 1.5
>
> Attachments: NUTCH-1299-1.5-1.patch
>
>
> No Node object is passed from the inverter's mapper to the reducer, which expects one, causing the following exception:
> {code}
> java.lang.NullPointerException
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:409)
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:356)
> at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:519)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:420)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
> at org.apache.hadoop.mapred.Child.main(Child.java:249)
> {code}
> This never happens unless you have a funky web graph. Our web graph changes frequently, adding and deleting records. It's likely a large number of records deleted from the outlink database is responsible for this. This error, however, only showed up now, a great deal of time after we began deleting records.
--
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] [Updated] (NUTCH-1299) NPE in LinkRank inverter
Posted by "Markus Jelsma (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated NUTCH-1299:
---------------------------------
Attachment: NUTCH-1299-1.5-2.patch
New patch logs warning with proper error message.
> NPE in LinkRank inverter
> ------------------------
>
> Key: NUTCH-1299
> URL: https://issues.apache.org/jira/browse/NUTCH-1299
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Critical
> Fix For: 1.5
>
> Attachments: NUTCH-1299-1.5-1.patch, NUTCH-1299-1.5-2.patch
>
>
> No Node object is passed from the inverter's mapper to the reducer, which expects one, causing the following exception:
> {code}
> java.lang.NullPointerException
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:409)
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:356)
> at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:519)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:420)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
> at org.apache.hadoop.mapred.Child.main(Child.java:249)
> {code}
> This never happens unless you have a funky web graph. Our web graph changes frequently, adding and deleting records. It's likely a large number of records deleted from the outlink database is responsible for this. This error, however, only showed up now, a great deal of time after we began deleting records.
--
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] [Updated] (NUTCH-1299) LinkRank inverter to ignore records
without Node
Posted by "Markus Jelsma (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated NUTCH-1299:
---------------------------------
Priority: Major (was: Critical)
Summary: LinkRank inverter to ignore records without Node (was: NPE in LinkRank inverter)
> LinkRank inverter to ignore records without Node
> ------------------------------------------------
>
> Key: NUTCH-1299
> URL: https://issues.apache.org/jira/browse/NUTCH-1299
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Fix For: 1.5
>
> Attachments: NUTCH-1299-1.5-1.patch, NUTCH-1299-1.5-2.patch
>
>
> No Node object is passed from the inverter's mapper to the reducer, which expects one, causing the following exception:
> {code}
> java.lang.NullPointerException
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:409)
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:356)
> at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:519)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:420)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
> at org.apache.hadoop.mapred.Child.main(Child.java:249)
> {code}
> This never happens unless you have a funky web graph. Our web graph changes frequently, adding and deleting records. It's likely a large number of records deleted from the outlink database is responsible for this. This error, however, only showed up now, a great deal of time after we began deleting records.
--
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-1299) LinkRank inverter to ignore records
without Node
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223485#comment-13223485 ]
Hudson commented on NUTCH-1299:
-------------------------------
Integrated in nutch-trunk-maven #184 (See [https://builds.apache.org/job/nutch-trunk-maven/184/])
NUTCH-1299 LinkRank inverter to ignore records without Node (Revision 1297586)
Result = SUCCESS
markus :
Files :
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/src/java/org/apache/nutch/scoring/webgraph/LinkRank.java
> LinkRank inverter to ignore records without Node
> ------------------------------------------------
>
> Key: NUTCH-1299
> URL: https://issues.apache.org/jira/browse/NUTCH-1299
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Fix For: 1.5
>
> Attachments: NUTCH-1299-1.5-1.patch, NUTCH-1299-1.5-2.patch
>
>
> No Node object is passed from the inverter's mapper to the reducer, which expects one, causing the following exception:
> {code}
> java.lang.NullPointerException
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:409)
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:356)
> at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:519)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:420)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
> at org.apache.hadoop.mapred.Child.main(Child.java:249)
> {code}
> This never happens unless you have a funky web graph. Our web graph changes frequently, adding and deleting records. It's likely a large number of records deleted from the outlink database is responsible for this. This error, however, only showed up now, a great deal of time after we began deleting records.
--
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-1299) LinkRank inverter to ignore records
without Node
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223964#comment-13223964 ]
Hudson commented on NUTCH-1299:
-------------------------------
Integrated in Nutch-trunk #1779 (See [https://builds.apache.org/job/Nutch-trunk/1779/])
NUTCH-1299 LinkRank inverter to ignore records without Node (Revision 1297586)
Result = SUCCESS
markus : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1297586
Files :
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/src/java/org/apache/nutch/scoring/webgraph/LinkRank.java
> LinkRank inverter to ignore records without Node
> ------------------------------------------------
>
> Key: NUTCH-1299
> URL: https://issues.apache.org/jira/browse/NUTCH-1299
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Fix For: 1.5
>
> Attachments: NUTCH-1299-1.5-1.patch, NUTCH-1299-1.5-2.patch
>
>
> No Node object is passed from the inverter's mapper to the reducer, which expects one, causing the following exception:
> {code}
> java.lang.NullPointerException
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:409)
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:356)
> at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:519)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:420)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
> at org.apache.hadoop.mapred.Child.main(Child.java:249)
> {code}
> This never happens unless you have a funky web graph. Our web graph changes frequently, adding and deleting records. It's likely a large number of records deleted from the outlink database is responsible for this. This error, however, only showed up now, a great deal of time after we began deleting records.
--
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] [Updated] (NUTCH-1299) NPE in LinkRank inverter
Posted by "Markus Jelsma (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated NUTCH-1299:
---------------------------------
Patch Info: Patch Available
> NPE in LinkRank inverter
> ------------------------
>
> Key: NUTCH-1299
> URL: https://issues.apache.org/jira/browse/NUTCH-1299
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Critical
> Fix For: 1.5
>
>
> No Node object is passed from the inverter's mapper to the reducer, which expects one, causing the following exception:
> {code}
> java.lang.NullPointerException
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:409)
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:356)
> at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:519)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:420)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
> at org.apache.hadoop.mapred.Child.main(Child.java:249)
> {code}
> This never happens unless you have a funky web graph. Our web graph changes frequently, adding and deleting records. It's likely a large number of records deleted from the outlink database is responsible for this. This error, however, only showed up now, a great deal of time after we began deleting records.
--
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] [Resolved] (NUTCH-1299) LinkRank inverter to ignore records
without Node
Posted by "Markus Jelsma (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma resolved NUTCH-1299.
----------------------------------
Resolution: Fixed
Superfluous records are now ignored but a WARN message is written to the log.
Committed for 1.5 in rev. 1297586.
> LinkRank inverter to ignore records without Node
> ------------------------------------------------
>
> Key: NUTCH-1299
> URL: https://issues.apache.org/jira/browse/NUTCH-1299
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Fix For: 1.5
>
> Attachments: NUTCH-1299-1.5-1.patch, NUTCH-1299-1.5-2.patch
>
>
> No Node object is passed from the inverter's mapper to the reducer, which expects one, causing the following exception:
> {code}
> java.lang.NullPointerException
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:409)
> at org.apache.nutch.scoring.webgraph.LinkRank$Inverter.reduce(LinkRank.java:356)
> at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:519)
> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:420)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1083)
> at org.apache.hadoop.mapred.Child.main(Child.java:249)
> {code}
> This never happens unless you have a funky web graph. Our web graph changes frequently, adding and deleting records. It's likely a large number of records deleted from the outlink database is responsible for this. This error, however, only showed up now, a great deal of time after we began deleting records.
--
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