mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Eastman <>
Subject RE: DisplayCanopy class
Date Wed, 01 Dec 2010 00:08:37 GMT
The DisplayClustering examples aren't designed to be run on Hadoop as they generate simple
Java graphics output. You should also be trying Mahout 0.4 or trunk as much has changed since
last spring. You will likely have to make changes to the display routines in order to plot
arbitrary data. Other than that I need more information on your data to be able to make better

-----Original Message-----
From: Sharma, Avani [] 
Sent: Tuesday, November 30, 2010 3:55 PM
Subject: DisplayCanopy class


I am using Mahout-0.3 to try out various clustering algorithms provided by mahout.
I ran arff converter, kmeans and canopy clustering over my data and used clusterdumper to
check out the clusters.
For big file sizes or big data to be clustered and interpreted, the output of clusterdumper
needs some kind of visualization.
So, I read
I was able to generate a sample cluster using DisplayClustering class, but none other display
classes are working for me. I am pasting the error below.
Besides, are there any other ways to visualize the output from my data?
How will I feed clusters for my data into these classes in display package?
Please point me to any source of information for the same. Thank you.

~/mahout-0.3/trunk hadoop$bin/mahout org.apache.mahout.clustering.display.DisplayCanopy
Running on hadoop, using HADOOP_HOME=/usr/local/hadoop_live/
10/12/01 06:30:34 WARN driver.MahoutDriver: No org.apache.mahout.clustering.display.DisplayCanopy.props
found on classpath, will use command-line arguments only
Exception in thread "main" java.lang.IllegalAccessException: Class org.apache.hadoop.util.ProgramDriver$ProgramDescription
can not access a member of class org.apache.mahout.clustering.display.DisplayCanopy with modifiers
"public static"
        at sun.reflect.Reflection.ensureMemberAccess(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(
        at org.apache.hadoop.util.ProgramDriver.driver(
        at org.apache.mahout.driver.MahoutDriver.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(

View raw message