mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <>
Subject [jira] [Updated] (MAHOUT-650) should be implemented by
Date Mon, 04 Apr 2011 11:35:05 GMT


Sean Owen updated MAHOUT-650:

    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

It's an easy change, sure, but I don't see why you would ever serialize an iterator? serializing
this means serializing the underlying array. If you just send the array, which you must anyway,
you can make a new iterator on it on the other side. In your code, just return long[] from
methods instead.

> should be implemented by
> ---------------------------------------------------------------------------------------------------------------
>                 Key: MAHOUT-650
>                 URL:
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>         Environment: Mac OS X 10.6, Java EE 6, EJB 3.1, Glassfish 3.0.1
>            Reporter: Manuel Blechschmidt
>            Assignee: Sean Owen
>            Priority: Minor
>              Labels: datamodel, ejb, taste
>         Attachments: PatchLongPrimitiveArrayIteratorSerializable.patch, RecommenderServices.png,,
> I am using Mahout in a Java EE 6 application. I implemented a DataModel as an EJB 3.1
Singelton Service Bean. I wanted to write some test cases but unfortunately some of the classes
of Taste are not serializable.
> At the moment LongPrimitiveArrayIterator stops my test cases from working.
> See attached patch, files and images for details

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message