gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alparslan Avcı (JIRA) <j...@apache.org>
Subject [jira] [Commented] (GORA-246) Upgrade to Avro 1.7.X in gora-hbase
Date Mon, 17 Mar 2014 13:07:46 GMT

    [ https://issues.apache.org/jira/browse/GORA-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937773#comment-13937773

Alparslan Avcı commented on GORA-246:

Hi [~renato2099],

In code that you mentioned (_DataStoreTestUtil.testUpdateWebPageRemoveMapEntry()_); 
# it adds all url to outlinks map
# flushes
# removes the odd indexed urls from _outlinks_ map by putting _null_ values ({{webPage.getOutlinks().put(new
Utf8(anchor + j), null);}})
# flushes again
# asserts if the odd indexed urls do not exist in _outlinks_ map

In this method, it is trying to test if the removal of a single entry from a map works well
or not. 

PS: AFAIK from GORA-207, we put _null_ value in order to remove an entry. 

> Upgrade to Avro 1.7.X in gora-hbase
> -----------------------------------
>                 Key: GORA-246
>                 URL: https://issues.apache.org/jira/browse/GORA-246
>             Project: Apache Gora
>          Issue Type: Sub-task
>          Components: gora-core, gora-hbase
>    Affects Versions: 0.4
>            Reporter: Lewis John McGibbney
>             Fix For: 0.4
>         Attachments: GORA-246.FailingTest.patch, GORA-246.patch, GORA-246v2.patch, GORA-246v3.patch,
GORA-246v3.patch, GORA-246v4.patch, GORA-246v5.patch, GORA_246.HBaseDriverTest.patch, GORA_246.HBaseDriverTest.v2.patch

This message was sent by Atlassian JIRA

View raw message