You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by rahul raghavendhra <ra...@gmail.com> on 2012/03/08 12:22:01 UTC

How/where to run DisplayKMeans example

hi all,
i have to run DisplayKMeans example.. README.txt within that folder says to
use the classname without arguments to generate clusters and to display
them.
i tried as
$> ./mahout DisplayClustering

it is not working.. How to run it

Regards,
./rahul

Re: How/where to run DisplayKMeans example

Posted by Sean Owen <sr...@gmail.com>.
This means you are running on a headless machine without a monitor. The
program needs to show a window with graphics but cant.
On Mar 9, 2012 6:48 AM, "rahul raghavendhra" <ra...@gmail.com>
wrote:

> hi Lance,
> i tried as u said, but now i got a new exception
>
> Exception in thread "main" java.lang.InternalError: Can't connect to X11
> window server using ':0' as the value of the DISPLAY variable.
>
> can u help me ?
> Regards,
> ./rahul
>
> On Fri, Mar 9, 2012 at 8:09 AM, Lance Norskog <go...@gmail.com> wrote:
>
> > You have to use the full class path: org.apache.mahout.....DisplayKMeans
> >
> > On Thu, Mar 8, 2012 at 3:22 AM, rahul raghavendhra
> > <ra...@gmail.com> wrote:
> > > hi all,
> > > i have to run DisplayKMeans example.. README.txt within that folder
> says
> > to
> > > use the classname without arguments to generate clusters and to display
> > > them.
> > > i tried as
> > > $> ./mahout DisplayClustering
> > >
> > > it is not working.. How to run it
> > >
> > > Regards,
> > > ./rahul
> >
> >
> >
> > --
> > Lance Norskog
> > goksron@gmail.com
> >
>

Re: How/where to run DisplayKMeans example

Posted by rahul raghavendhra <ra...@gmail.com>.
hi Lance,
i tried as u said, but now i got a new exception

Exception in thread "main" java.lang.InternalError: Can't connect to X11
window server using ':0' as the value of the DISPLAY variable.

can u help me ?
Regards,
./rahul

On Fri, Mar 9, 2012 at 8:09 AM, Lance Norskog <go...@gmail.com> wrote:

> You have to use the full class path: org.apache.mahout.....DisplayKMeans
>
> On Thu, Mar 8, 2012 at 3:22 AM, rahul raghavendhra
> <ra...@gmail.com> wrote:
> > hi all,
> > i have to run DisplayKMeans example.. README.txt within that folder says
> to
> > use the classname without arguments to generate clusters and to display
> > them.
> > i tried as
> > $> ./mahout DisplayClustering
> >
> > it is not working.. How to run it
> >
> > Regards,
> > ./rahul
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
>

Re: How/where to run DisplayKMeans example

Posted by Lance Norskog <go...@gmail.com>.
You have to use the full class path: org.apache.mahout.....DisplayKMeans

On Thu, Mar 8, 2012 at 3:22 AM, rahul raghavendhra
<ra...@gmail.com> wrote:
> hi all,
> i have to run DisplayKMeans example.. README.txt within that folder says to
> use the classname without arguments to generate clusters and to display
> them.
> i tried as
> $> ./mahout DisplayClustering
>
> it is not working.. How to run it
>
> Regards,
> ./rahul



-- 
Lance Norskog
goksron@gmail.com