mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suneel Marthi (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MAHOUT-944) LuceneIndexToSequenceFiles (lucene2seq) utility
Date Fri, 07 Jun 2013 18:36:20 GMT

    [ https://issues.apache.org/jira/browse/MAHOUT-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678246#comment-13678246
] 

Suneel Marthi edited comment on MAHOUT-944 at 6/7/13 6:35 PM:
--------------------------------------------------------------

Grant, we seem to be missing a LuceneIndexToSequenceFilesDriver.java

{Code}

./bin/mahout lucene2seq

WARNING: Unable to add class: org.apache.mahout.text.LuceneIndexToSequenceFilesDriver
java.lang.ClassNotFoundException: org.apache.mahout.text.LuceneIndexToSequenceFilesDriver
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:188)
	at org.apache.mahout.driver.MahoutDriver.addClass(MahoutDriver.java:237)
	at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:119)

{Code}

or should this actually be a call to org.apache.mahout.text.SequenceFilesFromLuceneStorageDriver

                
      was (Author: smarthi):
    Grant, we seem to be missing a LuceneIndexToSequenceFilesDriver.java

{Code}

./bin/mahout lucene2seq

WARNING: Unable to add class: org.apache.mahout.text.LuceneIndexToSequenceFilesDriver
java.lang.ClassNotFoundException: org.apache.mahout.text.LuceneIndexToSequenceFilesDriver
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:188)
	at org.apache.mahout.driver.MahoutDriver.addClass(MahoutDriver.java:237)
	at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:119)

{Code}
                  
> LuceneIndexToSequenceFiles (lucene2seq) utility
> -----------------------------------------------
>
>                 Key: MAHOUT-944
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-944
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Integration
>    Affects Versions: 0.5
>            Reporter: Frank Scholten
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: MAHOUT-944-minor.patch, MAHOUT-944.patch, MAHOUT-944.patch, MAHOUT-944.patch,
MAHOUT-944.patch, MAHOUT-944.patch, MAHOUT-944.patch, MAHOUT-944.patch, MAHOUT-944.patch,
MAHOUT-944.patch, MAHOUT-944.patch, MAHOUT-944.patch, MAHOUT-944.patch
>
>
> Here is a lucene2seq tool I used in a project. It creates sequence files based on the
stored fields of a lucene index.
> The output from this tool can be then fed into seq2sparse and from there you can do text
clustering.
> Comes with Java bean configuration.
> Let me know what you think. Some CLI code can be added later on. I used this for a small-scale
project +- 100.000 docs. Is a MR version useful or is that overkill?
> See https://github.com/frankscholten/mahout/tree/lucene2seq for commits and review comments
from Simon Willnauer (Thanks Simon!)
> or the attached patch.

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

Mime
View raw message