[
https://issues.apache.org/jira/browse/GIRAPH-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16495822#comment-16495822
]
ASF GitHub Bot commented on GIRAPH-1195:
----------------------------------------
GitHub user dlogothetis opened a pull request:
https://github.com/apache/giraph/pull/76
Register RegularImmutableBiMap in HadoopKryo
https://issues.apache.org/jira/browse/GIRAPH-1195
When using guava, RegularImmutableBiMap is may be used underneath the
covers as an immutable map implementation. The default MapSerializer does not
work for this implementation as it does not support the put() operation.
Instead, we can register this class to use the ImmutableMapSerializer just like
with RegularImmutableMap.
Tests:
- Unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dlogothetis/giraph kryo_class
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/giraph/pull/76.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #76
----
commit dd5211e16b21ee691616ffcca71e076d54ca5c43
Author: Dionysios Logothetis <dlogothetis@...>
Date: 2018-05-30T22:39:40Z
Register RegularImmutableBiMap in HadoopKryo
----
> Register RegularImmutableBiMap in HadoopKryo
> --------------------------------------------
>
> Key: GIRAPH-1195
> URL: https://issues.apache.org/jira/browse/GIRAPH-1195
> Project: Giraph
> Issue Type: Bug
> Reporter: Dionysios Logothetis
> Assignee: Dionysios Logothetis
> Priority: Major
>
> When using guava, RegularImmutableBiMap is may be used underneath the covers
> as an immutable map implementation. The default MapSerializer does not work
> for this implementation as it does not support the put() operation. Instead,
> we can register this class to use the ImmutableMapSerializer just like with
> RegularImmutableMap.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)