You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2013/07/25 14:19:59 UTC
[jira] [Updated] (MAHOUT-1119) code bug in
org.apache.mahout.text.SequenceFilesFromDirectory
[ https://issues.apache.org/jira/browse/MAHOUT-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suneel Marthi updated MAHOUT-1119:
----------------------------------
Fix Version/s: 0.8
> 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
> Fix For: 0.8
>
> 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