Hello Suneel,

Thanks alot for quick reply for missing param.

mahout arff.vector --input /mnt/cluster/t/input-set.arff --output
/user/hadoop/t/input-set-vector/ --dictOut /mnt/cluster/t/input-set-dict

mahout ssvd --input /user/hadoop/t/input-set-vector/ --output
/user/hadoop/t/input-set-svd/ -k 50 --reduceTasks 2 -U true -V false -us
true -ow -pca true

mahout cleansvd -ci /user/hadoop/t/input-set-vector -ei
/user/hadoop/t/input-set-svd/USigma -o /user/hadoop/t/input-set-svd/cleansvd

Gives following error, please let me know what is missing:

Exception in thread "main" java.lang.ClassCastException:
org.apache.hadoop.io.LongWritable cannot be cast to
org.apache.hadoop.io.IntWritable
        at
org.apache.mahout.math.hadoop.DistributedRowMatrix$1.apply(DistributedRowMatrix.java:151)
        at
org.apache.mahout.math.hadoop.DistributedRowMatrix$1.apply(DistributedRowMatrix.java:148)

T
hnaks,
Rajesh

Reply via email to