Re: using KmeansDriver with HDFS

2013-09-05 Thread Ted Dunning
On Wed, Sep 4, 2013 at 6:58 PM, Alan Krumholz alan_krumh...@yahoo.com.mxwrote: I pulled that code (org.apache.mahout.clustering.classify.ClusterClassifier.readFromSeqFiles(ClusterClassifier.java:215)and I think is trying to read a file from one of the paths I passed to the method but with a

Re: using KmeansDriver with HDFS

2013-09-05 Thread Taner Diler
With 0.8 you can set conf files as Configuration conf = new Configuration(); String HADOOP_HOME = System.getenv(HADOOP_PREFIX); conf.addResource(new Path(HADOOP_HOME, conf/core-site.xml)); conf.addResource(new Path(HADOOP_HOME, conf/hdfs-site.xml));

Re: using KmeansDriver with HDFS

2013-09-05 Thread Alan Krumholz
septiembre, 2013 23:07:02 Asunto: Re: using KmeansDriver with HDFS On Wed, Sep 4, 2013 at 6:58 PM, Alan Krumholz alan_krumh...@yahoo.com.mxwrote: I pulled that code (org.apache.mahout.clustering.classify.ClusterClassifier.readFromSeqFiles(ClusterClassifier.java:215)and I think is trying

Re: using KmeansDriver with HDFS

2013-09-05 Thread Suneel Marthi
Enviado: Miércoles, 4 de septiembre, 2013 23:07:02 Asunto: Re: using KmeansDriver with HDFS On Wed, Sep 4, 2013 at 6:58 PM, Alan Krumholz alan_krumh...@yahoo.com.mxwrote: I pulled that code (org.apache.mahout.clustering.classify.ClusterClassifier.readFromSeqFiles(ClusterClassifier.java:215)and I

using KmeansDriver with HDFS

2013-09-04 Thread Alan Krumholz
Hi all, I'm using mahout 0.7 I'm trying to use KmeansDriver (org.apache.mahout.clustering.kmeans.KMeansDriver) with HDFS and I'm having some issues. When I use it with my local file system everything seems to be working fine. However, as soon as I change the Configuration object to use HDFS: