[
https://issues.apache.org/jira/browse/GIRAPH-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460946#comment-13460946
]
Avery Ching commented on GIRAPH-337:
------------------------------------
Configuration have been deprecated in favor of GiraphConfiguration for easy
get/set methods. Then I have ImmutableClassesGiraphConfiguration that will
generate the classes as final variables to be thread-safe. This is a big
improvement over Configuration#getClass(), which is very slow and makes
deserialization very slow. This represents the bulk of the changes as we have
to change code everywhere. All configuration variables have moved from
GiraphJob to GiraphConfiguration. Note that I didn't fix the vertex input /
output APIs to use ImmutableClassesGiraphConfiguration and just generate it
there for now. That can be done in a later change.
There is a new ImmutableClassesGiraphConfigurable that replaces Configurable
and our ReflectionUtils understands this to make sure to newInstance an object
and set its ImmutableClassesGiraphConfiguration if it is
ImmutableClassesGiraphConfigurable.
> Make a specific Giraph configuration for Class caching and specific Giraph
> configuration
> ----------------------------------------------------------------------------------------
>
> Key: GIRAPH-337
> URL: https://issues.apache.org/jira/browse/GIRAPH-337
> Project: Giraph
> Issue Type: Sub-task
> Reporter: Avery Ching
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira