You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Maysam Yabandeh (JIRA)" <ji...@apache.org> on 2013/07/12 09:33:48 UTC

[jira] [Created] (MAHOUT-1284) DummyRecordWriter's bug with reused Writables

Maysam Yabandeh created MAHOUT-1284:
---------------------------------------

             Summary: DummyRecordWriter's bug with reused Writables
                 Key: MAHOUT-1284
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1284
             Project: Mahout
          Issue Type: Bug
    Affects Versions: 0.7, 0.8
            Reporter: Maysam Yabandeh
            Priority: Minor
             Fix For: 0.8, 0.7


It is a recommended practice to reuse the Writable objects. DummyRecordWriter, which is used for testing in Mahout, however keeps the same Writable instance in a map: next time that the user reuses the Writable object, the internal map of DummyRecordWriter changes as well. This makes DummyRecordWriter fail for testing the MapReduce jobs that reuse the Writables.

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