FAQ
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

record-parser:

compile-rcc-compiler:

compile-core-classes:

compile-mapred-classes:
[javac] Compiling 1 source file to
/home/master/Desktop/hadoop-0.20.2/build/classes

compile-hdfs-classes:
[javac] Compiling 4 source files to
/home/master/Desktop/hadoop-0.20.2/build/classes

compile-core-native:

check-c++-makefiles:

create-c++-pipes-makefile:

create-c++-utils-makefile:

compile-c++-utils:

compile-c++-pipes:

compile-c++:

compile-core:

jar:
[tar] Nothing to do:
/home/master/Desktop/hadoop-0.20.2/build/classes/bin.tgz is up to
date.
[jar] Building jar:
/home/master/Desktop/hadoop-0.20.2/build/hadoop-0.20.3-dev-core.jar

compile-tools:

create-c++-examples-pipes-makefile:

compile-c++-examples-pipes:

compile-c++-examples:

compile-examples:
[javac] Compiling 9 source files to
/home/master/Desktop/hadoop-0.20.2/build/examples
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:5:
class, interface, or enum expected
[javac] <!DOCTYPE html>
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:17:
class, interface, or enum expected
[javac] var logged_in_user_email = "coolmanishhot8@gmail.com";
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:20:
class, interface, or enum expected
[javac] var relative_base_url = "";
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:22:
class, interface, or enum expected
[javac] </script>
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:54:
illegal character: \35
[javac] background: #fff;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:55:
class, interface, or enum expected
[javac] vertical-align: top;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:56:
class, interface, or enum expected
[javac] }
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:58:
malformed floating point literal
[javac] padding: .3em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:59:
class, interface, or enum expected
[javac] border: 1px solid #999;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:59:
illegal character: \35
[javac] border: 1px solid #999;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:60:
class, interface, or enum expected
[javac] margin-bottom: .1em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:60:
malformed floating point literal
[javac] margin-bottom: .1em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:61:
class, interface, or enum expected
[javac] font-family: arial, sans-serif;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:62:
class, interface, or enum expected
[javac] max-width: 60em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:62:
malformed floating point literal
[javac] max-width: 60em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:63:
class, interface, or enum expected
[javac] }
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:65:
illegal character: \35
[javac] background: #ffa;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:66:
class, interface, or enum expected
[javac] }
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:68:
illegal character: \35
[javac] background: #e5ecf9;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:69:
class, interface, or enum expected
[javac] }
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:71:
malformed floating point literal
[javac] padding: .5em .1em .1em .1em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:71:
malformed floating point literal
[javac] padding: .5em .1em .1em .1em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:71:
malformed floating point literal
[javac] padding: .5em .1em .1em .1em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:71:
malformed floating point literal
[javac] padding: .5em .1em .1em .1em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:72:
class, interface, or enum expected
[javac] max-width: 60em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:72:
malformed floating point literal
[javac] max-width: 60em;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:73:
class, interface, or enum expected
[javac] white-space: pre-wrap;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:74:
class, interface, or enum expected
[javac] white-space: -moz-pre-wrap;
[javac] ^
[javac] /home/master/Desktop/hadoop-0.20.2/src/examples/org/apache/hadoop/examples/kmeans/KmeansUtil.java:75:
class, interface, or enum expected
[javac] white-space: -pre-wrap;
[javac] ^





Regards
Manish Singla

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupcommon-user @
categorieshadoop
postedMar 18, '11 at 10:12a
activeMar 18, '11 at 3:56p
posts3
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Ted Dunning: 2 posts MANISH SINGLA: 1 post

People

Translate

site design / logo © 2022 Grokbase