[
https://issues.apache.org/jira/browse/MAHOUT-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Schelter resolved MAHOUT-1119.
----------------------------------------
Resolution: Fixed
Assignee: Sebastian Schelter
thank you for pointing us to that bug!
> code bug in org.apache.mahout.text.SequenceFilesFromDirectory
> -------------------------------------------------------------
>
> Key: MAHOUT-1119
> URL: https://issues.apache.org/jira/browse/MAHOUT-1119
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.7
> Environment: linux、JDK1.6
> Reporter: 徐家
> Assignee: Sebastian Schelter
> Labels: SequenceFilesFromDirectory
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> in org.apache.mahout.text.SequenceFilesFromDirectory from line 89 to 96 the
> code is
> pathFilterClass.getConstructor(Configuration.class,
> String.class,
> Map.class,
> ChunkedWriter.class,
> Charset.class,
> FileSystem.class);
> pathFilter = constructor.newInstance(conf, keyPrefix, options,
> writer, charset,fs);
> obviously,the method "constructor.newInstance" lacks a parameter
> "charset",if i implements a subclass of
> SequenceFilesFromDirectoryFilter,there will be a runtime error.
--
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