Re: Clusters developed using Mahout 0.8 version, can I use clusterdump from Mahout 0.9 version?

2014-11-25 Thread Donni Khan
Hi, You can use WeightedVectorWritable(Version 0.8) instead of WeightedPropertyVectorWritable(Version .9). Donni On Wed, Nov 26, 2014 at 12:27 AM, Viral Parikh wrote: > To Whomsoever It May Concern - > > I have kmeans clusters from Mahout 0.8 version. Since then we have > upgraded our Hadoop s

Re: Mahout 0.7 ALS Recommender: java.lang.Exception: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable

2014-11-25 Thread Ashok Harnal
Well, I have tried again. The Mahout documentation at this link ( https://mahout.apache.org/users/recommender/intro-als-hadoop.html ) says that once user and item features have been obtained, we proceed as follows: 1. For users we now want to make recommendations, we list them in a sequence file f

Clusters developed using Mahout 0.8 version, can I use clusterdump from Mahout 0.9 version?

2014-11-25 Thread Viral Parikh
To Whomsoever It May Concern - I have kmeans clusters from Mahout 0.8 version. Since then we have upgraded our Hadoop stack and also Mahout to 0.9 version. But I wanted to clusterdump the clusters we created using 0.8 version. When I use clusterdump in 0.9 version, I get an error - Exception i

Re: Mahout 0.7 ALS Recommender: java.lang.Exception: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable

2014-11-25 Thread Gokhan Capan
If I don't miss it, the documentation in the link doesn't say anything about using seqdirectory. I don't remember how it works in 0.7, but it basically says: Given a file of lines of , 1- run mahout parallelALS 2- run mahout recommendfactorized The input file for the 2nd step is the output of the

Re: Mahout 0.7 ALS Recommender: java.lang.Exception: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable

2014-11-25 Thread Ashok Harnal
Thank you for the reply. I proceeded as per the Example listed in Apache Mahout help page at this link : https://mahout.apache.org/users/recommender/intro-als-hadoop.html As per Step 4 of this link, after creation of sequence fil

RE: algorithms Apriori, FPgrowth

2014-11-25 Thread Martin, Nick
Hi Jakub, fpg is in 0.9 but currently unsupported (no code maintainer(s)). I don't think we have any docs for it since it's slated for removal. I use it in 0.8 and it works for the _limited_ use cases I have. As an alternative, and in preparation for the eventuality that it'll be removed witho

algorithms Apriori, FPgrowth

2014-11-25 Thread Jakub Stransky
Hello experienced mahout users, I am new to mahout library and I have a bit trouble to find a starting point for "associative rule mining" as I don't see neither Apriori not FPgrowth algorithm on the list of implemented algorithms. Contrary I found several blog posts with referal to mahout librar

Re: Mahout 0.7 ALS Recommender: java.lang.Exception: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable

2014-11-25 Thread Gokhan Capan
The problem is that seqdirectory doesn't do what you want. From the documentation page: The output of seqDirectory will be a Sequence file < Text, Text > of all documents (/sub-directory-path/documentFileName, documentText). Please see http://mahout.apache.org/users/basics/creating-vectors-from-t

[blog] How to do Update operation in hive-0.14.0

2014-11-25 Thread unmesha sreeveni
Hi Hope this link helps for those who are trying to do practise ACID properties in hive 0.14. http://unmeshasreeveni.blogspot.in/2014/11/updatedeleteinsert-in-hive-0140.html -- *Thanks & Regards * *Unmesha Sreeveni U.B* *Hadoop, Bigdata Developer* *Centre for Cyber Security | Amrita Vishwa Vi

Re: Mahout 0.7 ALS Recommender: java.lang.Exception: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to org.apache.hadoop.io.IntWritable

2014-11-25 Thread Ashok Harnal
I have now tested on a fresh cluster of Cloudera 5.2. Mahout 0.9 comes installed with it. My input data is just five lines, tab-separated. I have typed this data myself. So I do not expect anything else in this data. 11001 12005 14001 22002 23001 I use the