crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CRUNCH-544) PTable.materializeToMap returns non-Serializable object
Date Sat, 18 Jul 2015 16:00:05 GMT

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

Josh Wills resolved CRUNCH-544.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0

Added a serializability check to the MaterializeToMapIT and pushed to master.

> PTable.materializeToMap returns non-Serializable object
> -------------------------------------------------------
>
>                 Key: CRUNCH-544
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-544
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.12.0
>            Reporter: Mārtiņš Kalvāns
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: CRUNCH-544.patch
>
>
> In org/apache/crunch/impl/dist/collect/PTableBase.java materializeToMap returns org.apache.crunch.materialize.MaterializableMap
object that is not serializable ergo can not be used directly in Crunch api after.
> Also it uses poor performant AbstractMap base class that could be issue is someone assumes
that this map will be very efficient lookup table (probably most common use case).



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

Mime
View raw message