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

Pat Ferrel commented on MAHOUT-1541:
------------------------------------

The mahout-1541 branch in the above PR currently does not build because of core 
DSL changes since it was written.

The root issue is that I need DrmLike[Int]s to pass to 
CooccurrenceAnalysis.cooccurrence. The CLI reads these from text files. To read 
text files I need a SparkContext, which is not a problem. But to write the 
output I need an RDD. The DrmLike's that I was keeping used to contain the RDD 
but no longer do. A question that is blocking at present is:

1) What is the preferred way to pass around an object with both a DrmLike 
interface and an Rdd reference? Should I create this or does it already exist? 
I've looked in the PDF doc and the scaladocs but couldn't find the answer. 
Therefore I'll create something unless someone has better advice.

> Create CLI Driver for Spark Cooccurrence Analysis
> -------------------------------------------------
>
>                 Key: MAHOUT-1541
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1541
>             Project: Mahout
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Pat Ferrel
>            Assignee: Pat Ferrel
>
> Create a CLI driver to import data in a flexible manner, create an 
> IndexedDataset with BiMap ID translation dictionaries, call the Spark 
> CooccurrenceAnalysis with the appropriate params, then write output with 
> external IDs optionally reattached.
> Ultimately it should be able to read input as the legacy mr does but will 
> support reading externally defined IDs and flexible formats. Output will be 
> of the legacy format or text files of the user's specification with 
> reattached Item IDs. 
> Support for legacy formats is a question, users can always use the legacy 
> code if they want this. Internal to the IndexedDataset is a Spark DRM so 
> pipelining can be accomplished without any writing to an actual file so the 
> legacy sequence file output may not be needed.
> Opinions?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to