[
https://issues.apache.org/jira/browse/MAHOUT-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721891#comment-13721891
]
Suneel Marthi commented on MAHOUT-1284:
---------------------------------------
{Code}
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.663 sec <<<
FAILURE! - in org.apache.mahout.utils.regex.RegexMapperTest
testRegex(org.apache.mahout.utils.regex.RegexMapperTest) Time elapsed: 0.572
sec <<< ERROR!
java.lang.NoSuchMethodError:
org.apache.mahout.common.DummyRecordWriter.getValue(Ljava/lang/Object;)Ljava/util/List;
at
org.apache.mahout.utils.regex.RegexMapperTest.testRegex(RegexMapperTest.java:48)
testGroups(org.apache.mahout.utils.regex.RegexMapperTest) Time elapsed: 0.04
sec <<< ERROR!
java.lang.NoSuchMethodError:
org.apache.mahout.common.DummyRecordWriter.getValue(Ljava/lang/Object;)Ljava/util/List;
at
org.apache.mahout.utils.regex.RegexMapperTest.testGroups(RegexMapperTest.java:73)
testFPGFormatter(org.apache.mahout.utils.regex.RegexMapperTest) Time elapsed:
0.05 sec <<< ERROR!
java.lang.NoSuchMethodError:
org.apache.mahout.common.DummyRecordWriter.getValue(Ljava/lang/Object;)Ljava/util/List;
at
org.apache.mahout.utils.regex.RegexMapperTest.testFPGFormatter(RegexMapperTest.java:97)
Running org.apache.mahout.utils.regex.RegexUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in
org.apache.mahout.utils.regex.RegexUtilsTest
Running org.apache.mahout.utils.TestConcatenateVectorsJob
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.608 sec <<<
FAILURE! - in org.apache.mahout.utils.TestConcatenateVectorsJob
testConcatenateVectorsReducer(org.apache.mahout.utils.TestConcatenateVectorsJob)
Time elapsed: 0.607 sec <<< ERROR!
java.lang.NoSuchMethodError:
org.apache.mahout.common.DummyRecordWriter.getValue(Ljava/lang/Object;)Ljava/util/List;
at
org.apache.mahout.utils.TestConcatenateVectorsJob.testConcatenateVectorsReducer(TestConcatenateVectorsJob.java:90)
{Code}
What's different between the 2 patches you had submitted? Am I missing
something here?
> 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
> Assignee: Suneel Marthi
> Priority: Minor
> Labels: test
> Fix For: 0.9
>
> Attachments: MAHOUT-1284.patch, MAHOUT-1284.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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