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

PTable.materializeToMap returns non-Serializable object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: