徐家 created MAHOUT-1119:
--------------------------
Summary: 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: 徐家
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