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:27:48 UTC

[jira] [Updated] (MAHOUT-1082) driver seqdirectory fails with param -filter set

     [ https://issues.apache.org/jira/browse/MAHOUT-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suneel Marthi updated MAHOUT-1082:
----------------------------------

    Fix Version/s: 0.8
    
> driver seqdirectory fails with param -filter set
> ------------------------------------------------
>
>                 Key: MAHOUT-1082
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1082
>             Project: Mahout
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 0.7
>            Reporter: Johannes Rauber
>            Priority: Minor
>             Fix For: 0.8
>
>
> The following error is thrown when an own implementation of PrefixAdditionFilter is specified with parameter -filter for seqdirectory.
> Exception in thread "main" java.lang.IllegalArgumentException: wrong number of arguments
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 	at org.apache.mahout.text.SequenceFilesFromDirectory.run(SequenceFilesFromDirectory.java:96)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.mahout.text.SequenceFilesFromDirectory.main(SequenceFilesFromDirectory.java:53)
> In class org.apache.mahout.text.SequenceFilesFromDirectory line 96 the following additional parameter should be inserted into the reflection call of the ctor: "charset"
> Raises Error:
> pathFilter = constructor.newInstance(conf, keyPrefix, options, writer, fs);
> Fix:
> pathFilter = constructor.newInstance(conf, keyPrefix, options, writer, charset, fs);

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