Uploaded image for project: 'Crunch'
  1. Crunch
  2. CRUNCH-544

PTable.materializeToMap returns non-Serializable object

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: Core
    • Labels:
      None

      Description

      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).

        Attachments

        1. CRUNCH-544.patch
          2 kB
          Josh Wills

          Activity

            People

            • Assignee:
              jwills Josh Wills
              Reporter:
              martins.kalvans Mārtiņš Kalvāns
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: