API 예제를 돌려보려면 다음 사이트를 참고하면 된다.
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/apach ··· -rc2.jar
[get] To: /usr/local/hadoop/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 = /usr/local/hadoop/ivy/ivysettings.xml
ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#Hadoop;working@blade01.kangwon.ac.kr
[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 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] :: resolution report :: resolve 619ms :: artifacts dl 22ms
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| common | 19 | 0 | 0 | 0 || 19 | 0 |
---------------------------------------------------------------------
ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#Hadoop
[ivy:retrieve] confs: [common]
[ivy:retrieve] 0 artifacts copied, 19 already retrieved (0kB/20ms)
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 = /usr/local/hadoop/ivy/ivysettings.xml
init:
[touch] Creating /tmp/null736510671
[delete] Deleting: /tmp/null736510671
[exec] src/saveVersion.sh: 34: svn: not found
[exec] src/saveVersion.sh: 34: svn: not found
record-parser:
compile-rcc-compiler:
compile-core-classes:
[javac] Compiling 1 source file to /usr/local/hadoop/build/classes
compile-mapred-classes:
[javac] Compiling 1 source file to /usr/local/hadoop/build/classes
compile-hdfs-classes:
[javac] Compiling 4 source files to /usr/local/hadoop/build/classes
compile-core-native:
check-c++-makefiles:
create-c++-pipes-makefile:
BUILD FAILED
/usr/local/hadoop/build.xml:1414: Execute failed: java.io.IOException: Cannot run program "/usr/local/hadoop/src/c++/pipes/configure" (in directory "/usr/local/hadoop/build/c++-build/Linux-i386-32/pipes"): java.io.IOException: error=13, Permission denied
Total time: 4 seconds
Leave your greetings.