[ 
https://issues.apache.org/jira/browse/NUTCH-2029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lewis John McGibbney resolved NUTCH-2029.
-----------------------------------------
    Resolution: Fixed

This issue has been resolved as it was fixed over in GORA-423. We can benefit 
from it when we upgrade to Gora 0.6.1 which will be done for the 2.3.1 release.

> Mark.checkMark returns empty string when null is expected with mongodb storage
> ------------------------------------------------------------------------------
>
>                 Key: NUTCH-2029
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2029
>             Project: Nutch
>          Issue Type: Bug
>          Components: storage
>    Affects Versions: 2.3
>            Reporter: Alexander Yastrebov
>             Fix For: 2.3.1
>
>
> Gora mongodb backend returns empty Utf8 for null field values.
> This leads to Mark.checkMark never returns null, so multiple checks on null 
> fail e.g. in DbUpdateMapper, GeneratorMapper etc.
> Temporal fix is to check whether value is null or empty
> See patch
> https://github.com/newpointer/nutch/commit/4bdc0bab39ede7c01ee057c3429f5f0e90d5e48f
> and related gora issue
> https://issues.apache.org/jira/browse/GORA-423



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to