Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - how to build kmeans


Copy link to this message
-
Re: how to build kmeans
Ted Dunning 2011-03-18, 15:51
These java files are full of HTML.

Are you sure that they are supposed to compile?  How did you get these
files?

On Fri, Mar 18, 2011 at 3:12 AM, MANISH SINGLA <[EMAIL PROTECTED]>wrote:

> Hii everyone...
>
> I am trying to run kmeans on a single node... I have the attached
> files with me...I put them in a folder named kmeans...and place it in
> the src/examples directory...
> Then i go to hadoop home ant type ant examples on the command line...
> but I am getting some errors...which I am not able to understand...any
> help wpuld be appreciated...
>
>
> ON COMMAND LINE:  ant examples //tHIS i TYPE ON THE COMMAND LINE
> OUTPUT: //AS A result I get all this
>   Buildfile: build.xml
>
> clover.setup:
>
> clover.info:
>     [echo]
>     [echo]      Clover not found. Code coverage reports disabled.
>     [echo]
>
> clover:
>
> ivy-download:
>      [get] Getting:
>
> http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jar
>      [get] To: /home/master/Desktop/hadoop-0.20.2/ivy/ivy-2.0.0-rc2.jar
>      [get] Not modified - so not downloaded
>
> ivy-init-dirs:
>
> ivy-probe-antlib:
>
> ivy-init-antlib:
>
> ivy-init:
> [ivy:configure] :: Ivy 2.0.0-rc2 - 20081028224207 ::
> http://ant.apache.org/ivy/ ::
> :: loading settings :: file > /home/master/Desktop/hadoop-0.20.2/ivy/ivysettings.xml
>
> ivy-resolve-common:
> [ivy:resolve] :: resolving dependencies ::
> org.apache.hadoop#Hadoop;working@master
> [ivy:resolve]   confs: [common]
> [ivy:resolve]   found commons-logging#commons-logging;1.0.4 in maven2
> [ivy:resolve]   found log4j#log4j;1.2.15 in maven2
> [ivy:resolve]   found commons-httpclient#commons-httpclient;3.0.1 in maven2
> [ivy:resolve]   found commons-codec#commons-codec;1.3 in maven2
> [ivy:resolve]   found commons-cli#commons-cli;1.2 in maven2
> [ivy:resolve]   found xmlenc#xmlenc;0.52 in maven2
> [ivy:resolve]   found net.java.dev.jets3t#jets3t;0.6.1 in maven2
> [ivy:resolve]   found commons-net#commons-net;1.4.1 in maven2
> [ivy:resolve]   found org.mortbay.jetty#servlet-api-2.5;6.1.14 in maven2
> [ivy:resolve]   found oro#oro;2.0.8 in maven2
> [ivy:resolve]   found org.mortbay.jetty#jetty;6.1.14 in maven2
> [ivy:resolve]   found org.mortbay.jetty#jetty-util;6.1.14 in maven2
> [ivy:resolve]   found tomcat#jasper-runtime;5.5.12 in maven2
> [ivy:resolve]   found tomcat#jasper-compiler;5.5.12 in maven2
> [ivy:resolve]   found commons-el#commons-el;1.0 in maven2
> [ivy:resolve]   found junit#junit;3.8.1 in maven2
> [ivy:resolve]   found commons-logging#commons-logging-api;1.0.4 in maven2
> [ivy:resolve]   found org.slf4j#slf4j-api;1.4.3 in maven2
> [ivy:resolve]   found org.eclipse.jdt#core;3.1.1 in maven2
> [ivy:resolve]   found org.slf4j#slf4j-log4j12;1.4.3 in maven2
> [ivy:resolve]   found org.mockito#mockito-all;1.8.0 in maven2
> [ivy:resolve] :: resolution report :: resolve 612ms :: artifacts dl 24ms
>
>  ---------------------------------------------------------------------
>        |                  |            modules            ||   artifacts
> |
>        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
>  ---------------------------------------------------------------------
>        |      common      |   21  |   0   |   0   |   0   ||   21  |   0
> |
>
>  ---------------------------------------------------------------------
>
> ivy-retrieve-common:
> [ivy:retrieve] :: retrieving :: org.apache.hadoop#Hadoop
> [ivy:retrieve]  confs: [common]
> [ivy:retrieve]  0 artifacts copied, 21 already retrieved (0kB/16ms)
> No ivy:settings found for the default reference 'ivy.instance'.  A
> default instance will be used
> DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
> :: loading settings :: file > /home/master/Desktop/hadoop-0.20.2/ivy/ivysettings.xml
>
> init:
>    [touch] Creating /tmp/null1787905831
>   [delete] Deleting: /tmp/null1787905831
>     [exec] src/saveVersion.sh: 34: svn: not found
>     [exec] src/saveVersion.sh: 34: svn: not found