You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/06/20 05:12:25 UTC

[jira] [Commented] (NUTCH-1796) Ensure Gora object builders are used as oppose to empty constructors.

    [ https://issues.apache.org/jira/browse/NUTCH-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14038316#comment-14038316 ] 

Hudson commented on NUTCH-1796:
-------------------------------

SUCCESS: Integrated in Nutch-nutchgora #1049 (See [https://builds.apache.org/job/Nutch-nutchgora/1049/])
NUTCH-1796 Ensure Gora object builders are used as oppose to empty constructors (lewismc: http://svn.apache.org/viewvc/nutch/branches/2.x/?view=rev&rev=1604072)
* /nutch/branches/2.x/CHANGES.txt
* /nutch/branches/2.x/src/java/org/apache/nutch/crawl/DbUpdateReducer.java
* /nutch/branches/2.x/src/plugin/parse-html/src/test/org/apache/nutch/parse/html/TestHtmlParser.java
* /nutch/branches/2.x/src/plugin/parse-metatags/src/test/org/apache/nutch/parse/TestMetaTagsParser.java
* /nutch/branches/2.x/src/plugin/parse-tika/src/test/org/apache/nutch/parse/tika/TestImageMetadata.java
* /nutch/branches/2.x/src/plugin/protocol-http/src/test/org/apache/nutch/protocol/http/TestProtocolHttp.java
* /nutch/branches/2.x/src/plugin/scoring-opic/src/test/org/apache/nutch/scoring/opic/TestOPICScoringFilter.java
* /nutch/branches/2.x/src/plugin/tld/src/test/org/apache/nutch/indexer/tld/TestTLDIndexingFilter.java
* /nutch/branches/2.x/src/test/org/apache/nutch/crawl/TestAdaptiveFetchSchedule.java


> Ensure Gora object builders are used as oppose to empty constructors.
> ---------------------------------------------------------------------
>
>                 Key: NUTCH-1796
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1796
>             Project: Nutch
>          Issue Type: Bug
>          Components: storage
>    Affects Versions: 2.3
>            Reporter: Lewis John McGibbney
>            Assignee: Sebastian Nagel
>            Priority: Blocker
>             Fix For: 2.3
>
>         Attachments: failed_tests_2x.patch
>
>
> Since NUTCH-1714 was committed, we have had broken tests. This is due to Gora object constrctors being used as oppose to the Object .build()ers.
> The constrctors are more efficient in memory, however they do not set default values for fields which means we can sometimes get NPE when we attempt to serde data.



--
This message was sent by Atlassian JIRA
(v6.2#6252)