nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiril Menshikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-1843) Upgrade to Gora 0.5
Date Sun, 05 Oct 2014 12:34:33 GMT

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

Kiril Menshikov commented on NUTCH-1843:
----------------------------------------

MongoDB fails. Because it couldn't serialize class org.apache.avro.util.Utf8.
To make it works. We need to use encoding hook. Not sure where is best place to add it. Probably
Gora project.

    Transformer utf8Transformer = new Transformer()
    {
        public Object transform(Object o)
        {
            if (o instanceof Utf8)
            {
                return o.toString();
            }
            return o;
        }
    };
    BSON.addEncodingHook(Utf8.class, utf8Transformer);

> Upgrade to Gora 0.5
> -------------------
>
>                 Key: NUTCH-1843
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1843
>             Project: Nutch
>          Issue Type: Improvement
>          Components: build, storage
>            Reporter: Lewis John McGibbney
>            Assignee: Talat UYARER
>             Fix For: 2.3
>
>         Attachments: NUTCH-1843.patch, NUTCH-1843v2.patch
>
>
> We just released Gora 0.5 
> http://www.mail-archive.com/dev%40gora.apache.org/msg05236.html
> We should upgrade before releasing Nutch 2.3



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

Mime
View raw message