You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Andrew Musselman (JIRA)" <ji...@apache.org> on 2015/04/07 19:00:19 UTC
[jira] [Commented] (MAHOUT-1625) lucene2seq: failure to convert a
document that does not contain a field (the field is not required)
[ https://issues.apache.org/jira/browse/MAHOUT-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483504#comment-14483504 ]
Andrew Musselman commented on MAHOUT-1625:
------------------------------------------
Status for freeze today?
> lucene2seq: failure to convert a document that does not contain a field (the field is not required)
> ---------------------------------------------------------------------------------------------------
>
> Key: MAHOUT-1625
> URL: https://issues.apache.org/jira/browse/MAHOUT-1625
> Project: Mahout
> Issue Type: Bug
> Components: CLI
> Affects Versions: 0.9
> Environment: CentOS 6.5
> Reporter: Tom Lampert
> Assignee: Frank Scholten
> Labels: LuceneIndexHelper, easyfix, legacy, lucene, lucene2seq, mahout
> Fix For: 0.10.0
>
>
> When trying to convert a lucene index in which not all fields are required (and therefore in some documents the field does not exist) the following exception is thrown:
> java.lang.IllegalArgumentException: Field 'MISSING_FIELDNAME' does not exist in the index
> at org.apache.mahout.text.LuceneIndexHelper.fieldShouldExistInIndex(LuceneIndexHelper.java:36)
> at org.apache.mahout.text.LuceneSegmentRecordReader.initialize(LuceneSegmentRecordReader.java:63)
> at org.apache.mahout.text.LuceneSegmentInputFormat.createRecordReader(LuceneSegmentInputFormat.java:76)
> at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.<init>(MapTask.java:492)
> at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:735)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)
> at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:167)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1557)
> at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
> It would be good to either ignore missing field values by default or to have an additional parameter that turns ignoring them on or off.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)