You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by "dunithd@gmail.com" <du...@gmail.com> on 2013/06/12 11:39:25 UTC

Running Mahout recommendations on a Cassandra data set

Hi folks,

I have a large user preference data set stored in a Cassandra node.

I need to run distributed (Hadop based) Mahout recommender job on that data
set and  write the recommendations into MySQL database.

1. Will it be possible with Mahout? If possible, what are the
configurations required?
2. Is org.apache.mahout.cf.taste.hadoop.item.RecommenderJob class limited
only to read input dataset from HDFS? or is it pluggable?

Thanks ad regards,
Dunith Dhanushka

Re: Running Mahout recommendations on a Cassandra data set

Posted by Sean Owen <sr...@gmail.com>.
This is more of a Hadoop question. The input hides behind the
InputFormat implementation. If you have an InputFormat that can read
and produce the same key-value pairs that you'd get from a
SequenceFileInputFormat / TextInputFormat and HDFS, yes the rest just
works automatically. You have to modify the code though.

On Wed, Jun 12, 2013 at 10:39 AM, dunithd@gmail.com <du...@gmail.com> wrote:
> Hi folks,
>
> I have a large user preference data set stored in a Cassandra node.
>
> I need to run distributed (Hadop based) Mahout recommender job on that data
> set and  write the recommendations into MySQL database.
>
> 1. Will it be possible with Mahout? If possible, what are the
> configurations required?
> 2. Is org.apache.mahout.cf.taste.hadoop.item.RecommenderJob class limited
> only to read input dataset from HDFS? or is it pluggable?
>
> Thanks ad regards,
> Dunith Dhanushka