使用ant及hadoop制作eclipse插件错误(已解决)

vigiles 发布于 2013/05/15 21:07
阅读 10K+
收藏 1

环境:
      Ubuntu10.04(用户:hm-初始用户、root-根用户,主机名:hm-ubuntu)
      ant1.9.0(配置到了环境变量)
      jdk1.6.0_24(配置到了环境变量)
      eclipse4.2.2(已安装到/home/hm/)
      hadoop-1.1.2(解压到/home/hm/)
     ivy-2.1.0(来自/home/hm/hadoop-1.1.2/ivy/,复制到了%ant%/lib/)

1. 修改%hadoop%\src\contrib\build-contrib.xml文件
        添加hadoop版本和eclipse安装根目录  

<property name="version" value="1.1.2"/>
<property name="eclipse.home" location="%eclipse%"/>
 
 2. 修改%hadoop%\src\contrib\eclipse-plugin\build.xml 
        在target name="jar"节点添加依赖jar:
<!-- Override jar target to specify manifest -->  
<target name="jar" depends="compile" unless="skip.contrib">
  <mkdir dir="${build.dir}/lib"/>
  <!-- 自定义的修改内容:begin -->
  <!--
  	<copy	file="${hadoop.root}/build/hadoop-core-${version}.jar" 
  tofile="${build.dir}/lib/hadoop-core.jar" verbose="true"/>
      <copy file="${hadoop.root}/build/ivy/lib/Hadoop/common/commons-cli-${commons-cli.version}.jar"  
  todir="${build.dir}/lib" verbose="true"/>
  --> 
      <copy	file="${hadoop.root}/hadoop-core-${version}.jar" 
  tofile="${build.dir}/lib/hadoop-core.jar"	verbose="true"/>
      <copy	file="${hadoop.root}/lib/commons-cli-1.2.jar"  
  todir="${build.dir}/lib"	verbose="true"/>  
      <copy	file="${hadoop.root}/lib/commons-configuration-1.6.jar"  
  todir="${build.dir}/lib"	verbose="true"/>  
      <copy	file="${hadoop.root}/lib/commons-httpclient-3.0.1.jar"  
  todir="${build.dir}/lib"	verbose="true"/>  
  	<copy	file="${hadoop.root}/lib/jackson-core-asl-1.8.8.jar"  
  todir="${build.dir}/lib"	verbose="true"/>  
  	<copy	file="${hadoop.root}/lib/commons-lang-2.4.jar"  
  todir="${build.dir}/lib"	verbose="true"/>  
  	<copy	file="${hadoop.root}/lib/jackson-mapper-asl-1.8.8.jar"  
  todir="${build.dir}/lib"	verbose="true"/>  
  <!-- 自定义的修改内容:end -->  
  	<jar jarfile="${build.dir}/hadoop-${name}-${version}.jar" 
  manifest="${root}/META-INF/MANIFEST.MF">
  		<fileset dir="${build.dir}" includes="classes/ lib/"/>
  		<fileset dir="${root}" includes="resources/ plugin.xml"/>
  	</jar>
</target>



3.修改${HADOOP_HOME}/src/contrib/eclipse-plugin/META-INF/MANIFEST.MF的Bundle-ClassPath
Bundle-ClassPath: classes/,
 lib/hadoop-core.jar,
 lib/commons-cli-1.2.jar,
 lib/commons-configuration-1.6.jar,
 lib/commons-httpclient-3.0.1.jar,
 lib/commons-lang-2.4.jar,
 lib/commons-jackson-core-asl-1.8.8.jar,
 lib/commons-jackson-mapper-asl-1.8.8.jar
 

4.
编辑{HADOOP_HOME}/build.xml
        1)修改hadoop版本号:

        2)取消ivy依赖jar的下载:


5.拷贝&&/ivy/ivy-2.1.0.jar 到 &ant&/lib/ 中:
 

6.为hm赋予
%hadoop%777权限;

7.开启网络

8.在%hadoop%中执行 ant compile 命令:

hm@hm-ubuntu:~/hadoop$ ant compile
Buildfile: /home/hm/hadoop/build.xml

clover.setup:

clover.info:
     [echo] 
     [echo]      Clover not found. Code coverage reports disabled.
     [echo]   

clover:

ivy-init-dirs:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /home/hm/hadoop/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#Hadoop;working@hm-ubuntu
[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.4 in maven2
[ivy:resolve] 	found commons-cli#commons-cli;1.2 in maven2
[ivy:resolve] 	found commons-io#commons-io;2.1 in maven2
[ivy:resolve] 	found xmlenc#xmlenc;0.52 in maven2
[ivy:resolve] 	found commons-daemon#commons-daemon;1.0.1 in maven2
[ivy:resolve] 	found net.java.dev.jets3t#jets3t;0.6.1 in maven2
[ivy:resolve] 	found commons-net#commons-net;3.1 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty-util;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2
[ivy:resolve] 	found asm#asm;3.2 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-core;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-json;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-server;1.8 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 commons-configuration#commons-configuration;1.6 in maven2
[ivy:resolve] 	found commons-collections#commons-collections;3.2.1 in maven2
[ivy:resolve] 	found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve] 	found commons-logging#commons-logging;1.1.1 in maven2
[ivy:resolve] 	found commons-digester#commons-digester;1.8 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils;1.7.0 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils-core;1.8.0 in maven2
[ivy:resolve] 	found org.apache.commons#commons-math;2.1 in maven2
[ivy:resolve] 	found junit#junit;4.5 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 oro#oro;2.0.8 in maven2
[ivy:resolve] 	found org.slf4j#slf4j-log4j12;1.4.3 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-mapper-asl;1.8.8 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-core-asl;1.8.8 in maven2
[ivy:resolve] 	found org.mockito#mockito-all;1.8.5 in maven2
[ivy:resolve] 	found com.jcraft#jsch;0.1.42 in maven2
[ivy:resolve] 	found org.aspectj#aspectjrt;1.6.11 in maven2
[ivy:resolve] 	found org.aspectj#aspectjtools;1.6.11 in maven2
[ivy:resolve] 	found org.vafer#jdeb;0.8 in maven2
[ivy:resolve] downloading http://repo1.maven.org/maven2/log4j/log4j/1.2.15/log4j-1.2.15.jar ...
[ivy:resolve] ........................................................
[ivy:resolve] ................................. (382kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] log4j#log4j;1.2.15!log4j.jar (3435ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar ...
[ivy:resolve] ...........................
[ivy:resolve] ............................. (273kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-httpclient#commons-httpclient;3.0.1!commons-httpclient.jar (3481ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-codec/commons-codec/1.4/commons-codec-1.4.jar ...
[ivy:resolve] ................ (56kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-codec#commons-codec;1.4!commons-codec.jar (1936ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar ...
[ivy:resolve] ........... (40kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-cli#commons-cli;1.2!commons-cli.jar (1689ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-io/commons-io/2.1/commons-io-2.1.jar ...
[ivy:resolve] ....................................... (159kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-io#commons-io;2.1!commons-io.jar (2398ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/xmlenc/xmlenc/0.52/xmlenc-0.52.jar ...
[ivy:resolve] ... (14kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] xmlenc#xmlenc;0.52!xmlenc.jar (1492ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.1/commons-daemon-1.0.1.jar ...
[ivy:resolve] ... (13kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-daemon#commons-daemon;1.0.1!commons-daemon.jar (1343ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/net/java/dev/jets3t/jets3t/0.6.1/jets3t-0.6.1.jar ...
[ivy:resolve] ..........................................
[ivy:resolve] ........... (314kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] net.java.dev.jets3t#jets3t;0.6.1!jets3t.jar (4218ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-net/commons-net/3.1/commons-net-3.1.jar ...
[ivy:resolve] ........................................
[ivy:resolve] ........ (266kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-net#commons-net;3.1!commons-net.jar (2992ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar ...
[ivy:resolve] ...................................................
[ivy:resolve] ...............
[ivy:resolve] ........................ (527kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.mortbay.jetty#jetty;6.1.26!jetty.jar (5560ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar ...
[ivy:resolve] ...................................... (172kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.mortbay.jetty#jetty-util;6.1.26!jetty-util.jar (2543ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/asm/asm/3.2/asm-3.2.jar ...
[ivy:resolve] ............. (42kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] asm#asm;3.2!asm.jar (1704ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/com/sun/jersey/jersey-core/1.8/jersey-core-1.8.jar ...
[ivy:resolve] .................................................
[ivy:resolve] .................................................. (447kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] com.sun.jersey#jersey-core;1.8!jersey-core.jar(bundle) (3652ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/com/sun/jersey/jersey-json/1.8/jersey-json-1.8.jar ...
[ivy:resolve] ................................ (144kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] com.sun.jersey#jersey-json;1.8!jersey-json.jar(bundle) (2383ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/com/sun/jersey/jersey-server/1.8/jersey-server-1.8.jar ...
[ivy:resolve] ...........................................
[ivy:resolve] ...............................................................................................
[ivy:resolve] ...... (678kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] com.sun.jersey#jersey-server;1.8!jersey-server.jar(bundle) (4513ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/tomcat/jasper-runtime/5.5.12/jasper-runtime-5.5.12.jar ...
[ivy:resolve] .................... (74kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] tomcat#jasper-runtime;5.5.12!jasper-runtime.jar (4945ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/tomcat/jasper-compiler/5.5.12/jasper-compiler-5.5.12.jar ...
[ivy:resolve] ...................................................................
[ivy:resolve] .......................... (395kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] tomcat#jasper-compiler;5.5.12!jasper-compiler.jar (3098ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-el/commons-el/1.0/commons-el-1.0.jar ...
[ivy:resolve] .............................. (109kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-el#commons-el;1.0!commons-el.jar (2124ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211.jar ...
[ivy:resolve] ................................. (130kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.mortbay.jetty#servlet-api;2.5-20081211!servlet-api.jar (2253ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar ...
[ivy:resolve] .................................................................
[ivy:resolve] .. (291kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-configuration#commons-configuration;1.6!commons-configuration.jar (2848ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/apache/commons/commons-math/2.1/commons-math-2.1.jar ...
[ivy:resolve] .....................................................
[ivy:resolve] .......................................
[ivy:resolve] ....................................................................................................... (812kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.apache.commons#commons-math;2.1!commons-math.jar (5797ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/junit/junit/4.5/junit-4.5.jar ...
[ivy:resolve] ............................................. (194kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] junit#junit;4.5!junit.jar (5381ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar ...
[ivy:resolve] ........ (25kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-logging#commons-logging-api;1.0.4!commons-logging-api.jar (2071ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar ...
[ivy:resolve] ...... (14kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.slf4j#slf4j-api;1.4.3!slf4j-api.jar (1651ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/eclipse/jdt/core/3.1.1/core-3.1.1.jar ...
[ivy:resolve] .........................................................................
[ivy:resolve] ............................................................................................................
[ivy:resolve] .............................................................................................................
[ivy:resolve] .................................
[ivy:resolve] ..................................................................................
[ivy:resolve] .........................................................................................................
[ivy:resolve] .................................................................................................
[ivy:resolve] ..........................
[ivy:resolve] .............................................................................
[ivy:resolve] .............................................................................................. (3483kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.eclipse.jdt#core;3.1.1!core.jar (16598ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/oro/oro/2.0.8/oro-2.0.8.jar ...
[ivy:resolve] ............... (63kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] oro#oro;2.0.8!oro.jar (1990ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar ...
[ivy:resolve] .... (8kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.slf4j#slf4j-log4j12;1.4.3!slf4j-log4j12.jar (1272ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/codehaus/jackson/jackson-mapper-asl/1.8.8/jackson-mapper-asl-1.8.8.jar ...
[ivy:resolve] .....................................................................
[ivy:resolve] ................................................................................... (652kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.codehaus.jackson#jackson-mapper-asl;1.8.8!jackson-mapper-asl.jar (3960ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar ...
[ivy:resolve] .........................................................................
[ivy:resolve] .............................................................................................................
[ivy:resolve] .....................................................................................................................
[ivy:resolve] ........................................... (1386kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.mockito#mockito-all;1.8.5!mockito-all.jar (6403ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar ...
[ivy:resolve] ........................................... (181kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] com.jcraft#jsch;0.1.42!jsch.jar (2626ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/aspectj/aspectjrt/1.6.11/aspectjrt-1.6.11.jar ...
[ivy:resolve] .............................. (113kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.aspectj#aspectjrt;1.6.11!aspectjrt.jar (2093ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/aspectj/aspectjtools/1.6.11/aspectjtools-1.6.11.jar ...
[ivy:resolve] .................................
[ivy:resolve] ............................................................
[ivy:resolve] ..................................................................................................................
[ivy:resolve] ................................................................................................................
[ivy:resolve] ...........................................................
[ivy:resolve] ...........................................................................................
[ivy:resolve] .......................................................................................................................
[ivy:resolve] .............................................................................................................
[ivy:resolve] .................................................................................
[ivy:resolve] .................................................................................................
[ivy:resolve] ....................................................................................................................
[ivy:resolve] ..........................................................................................................................
[ivy:resolve] ..................................................................................................
[ivy:resolve] .........................................................................................................
[ivy:resolve] .................................................................................................................
[ivy:resolve] ..................................................................................................................
[ivy:resolve] ...................................................................
[ivy:resolve] ..............................
[ivy:resolve] ..............................................................................................
[ivy:resolve] ....................................................................................
[ivy:resolve] ...............................................................................................
[ivy:resolve] .........................................................................................................
[ivy:resolve] ...........................................................................................................
[ivy:resolve] .............. (8709kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.aspectj#aspectjtools;1.6.11!aspectjtools.jar (36817ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/vafer/jdeb/0.8/jdeb-0.8.jar ...
[ivy:resolve] ................................................... (215kB)
[ivy:resolve] downloading https://oss.sonatype.org/content/groups/public/org/vafer/jdeb/0.8/jdeb-0.8.jar ...
[ivy:resolve] .........
[ivy:resolve] ......
[ivy:resolve] ....
[ivy:resolve] ...
[ivy:resolve] .....
[ivy:resolve] ......
[ivy:resolve] .....
[ivy:resolve] ..
[ivy:resolve] .... (215kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.vafer#jdeb;0.8!jdeb.jar(maven-plugin) (20138ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar ...
[ivy:resolve] ........................
[ivy:resolve] ..........................................
[ivy:resolve] ........................................
[ivy:resolve] .....
[ivy:resolve] .
[ivy:resolve] ...... (561kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-collections#commons-collections;3.2.1!commons-collections.jar (14127ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.jar ...
[ivy:resolve] ............................................................ (255kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-lang#commons-lang;2.4!commons-lang.jar (2608ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar ...
[ivy:resolve] ............ (59kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-logging#commons-logging;1.1.1!commons-logging.jar (4158ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-digester/commons-digester/1.8/commons-digester-1.8.jar ...
[ivy:resolve] .................................... (140kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-digester#commons-digester;1.8!commons-digester.jar (4439ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar ...
[ivy:resolve] ............................................ (201kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-beanutils#commons-beanutils-core;1.8.0!commons-beanutils-core.jar (2452ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar ...
[ivy:resolve] .....................................
[ivy:resolve] ....
[ivy:resolve] . (184kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-beanutils#commons-beanutils;1.7.0!commons-beanutils.jar (4665ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/codehaus/jackson/jackson-core-asl/1.8.8/jackson-core-asl-1.8.8.jar ...
[ivy:resolve] ........................................... (222kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.codehaus.jackson#jackson-core-asl;1.8.8!jackson-core-asl.jar (2675ms)
[ivy:resolve] :: resolution report :: resolve 161170ms :: artifacts dl 223905ms
[ivy:resolve] 	:: evicted modules:
[ivy:resolve] 	commons-logging#commons-logging;1.0.4 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.0.3 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.1 by [commons-logging#commons-logging;1.1.1] in [common]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   43  |   41  |   41  |   3   ||   40  |   40  |
	---------------------------------------------------------------------
[ivy:resolve] 
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] 		[FAILED     ] org.vafer#jdeb;0.8!jdeb.jar(maven-plugin): Connection timed out (23298ms)
[ivy:resolve] 
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#Hadoop
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	40 artifacts copied, 0 already retrieved (22024kB/94ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/hm/hadoop/ivy/ivysettings.xml

init:
    [mkdir] Created dir: /home/hm/hadoop/build/classes
    [mkdir] Created dir: /home/hm/hadoop/build/tools
    [mkdir] Created dir: /home/hm/hadoop/build/src
    [mkdir] Created dir: /home/hm/hadoop/build/webapps/task/WEB-INF
    [mkdir] Created dir: /home/hm/hadoop/build/webapps/job/WEB-INF
    [mkdir] Created dir: /home/hm/hadoop/build/webapps/history/WEB-INF
    [mkdir] Created dir: /home/hm/hadoop/build/webapps/hdfs/WEB-INF
    [mkdir] Created dir: /home/hm/hadoop/build/webapps/datanode/WEB-INF
    [mkdir] Created dir: /home/hm/hadoop/build/webapps/secondary/WEB-INF
    [mkdir] Created dir: /home/hm/hadoop/build/examples
    [mkdir] Created dir: /home/hm/hadoop/build/ant
    [mkdir] Created dir: /home/hm/hadoop/build/c++
    [mkdir] Created dir: /home/hm/hadoop/build/test
    [mkdir] Created dir: /home/hm/hadoop/build/test/classes
    [mkdir] Created dir: /home/hm/hadoop/build/test/testjar
    [mkdir] Created dir: /home/hm/hadoop/build/test/testshell
    [mkdir] Created dir: /home/hm/hadoop/build/test/extraconf
    [touch] Creating /tmp/null1729354484
   [delete] Deleting: /tmp/null1729354484
     [copy] Copying 8 files to /home/hm/hadoop/build/webapps
     [exec] src/saveVersion.sh: 35: svn: not found
     [exec] src/saveVersion.sh: 35: svn: not found
     [exec] src/fixFontsPath.sh: 24: cannot create src/docs/cn/uming.conf: Permission denied
     [exec] src/fixFontsPath.sh: 38: cannot create src/docs/cn/src/documentation/sitemap.xmap: Permission denied
     [exec] Result: 2

record-parser:

compile-rcc-compiler:
    [javac] /home/hm/hadoop/build.xml:464: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 29 source files to /home/hm/hadoop/build/classes

compile-core-classes:
    [javac] /home/hm/hadoop/build.xml:488: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 440 source files to /home/hm/hadoop/build/classes
    [javac] /home/hm/hadoop/src/core/org/apache/hadoop/security/SecurityUtil.java:51: 警告:sun.net.dns.ResolverConfiguration 是 Sun 的专用 API,可能会在未来版本中删除
    [javac] import sun.net.dns.ResolverConfiguration;
    [javac]                   ^
    [javac] /home/hm/hadoop/src/core/org/apache/hadoop/security/SecurityUtil.java:52: 警告:sun.net.util.IPAddressUtil 是 Sun 的专用 API,可能会在未来版本中删除
    [javac] import sun.net.util.IPAddressUtil;
    [javac]                    ^
    [javac] /home/hm/hadoop/src/core/org/apache/hadoop/security/SecurityUtil.java:493: 警告:sun.net.dns.ResolverConfiguration 是 Sun 的专用 API,可能会在未来版本中删除
    [javac]         ResolverConfiguration.open().searchlist();
    [javac]         ^
    [javac] /home/hm/hadoop/src/core/org/apache/hadoop/security/SecurityUtil.java:510: 警告:sun.net.util.IPAddressUtil 是 Sun 的专用 API,可能会在未来版本中删除
    [javac]       if (IPAddressUtil.isIPv4LiteralAddress(host)) {
    [javac]           ^
    [javac] /home/hm/hadoop/src/core/org/apache/hadoop/security/SecurityUtil.java:512: 警告:sun.net.util.IPAddressUtil 是 Sun 的专用 API,可能会在未来版本中删除
    [javac]         byte[] ip = IPAddressUtil.textToNumericFormatV4(host);
    [javac]                     ^
    [javac] /home/hm/hadoop/src/core/org/apache/hadoop/security/SecurityUtil.java:514: 警告:sun.net.util.IPAddressUtil 是 Sun 的专用 API,可能会在未来版本中删除
    [javac]       } else if (IPAddressUtil.isIPv6LiteralAddress(host)) {
    [javac]                  ^
    [javac] /home/hm/hadoop/src/core/org/apache/hadoop/security/SecurityUtil.java:516: 警告:sun.net.util.IPAddressUtil 是 Sun 的专用 API,可能会在未来版本中删除
    [javac]         byte[] ip = IPAddressUtil.textToNumericFormatV6(host);
    [javac]                     ^
    [javac] 注意:某些输入文件使用或覆盖了已过时的 API。
    [javac] 注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
    [javac] 7 警告
    [javac] Creating empty /home/hm/hadoop/build/classes/org/apache/hadoop/jmx/package-info.class
     [copy] Copying 1 file to /home/hm/hadoop/build/classes

compile-hdfs-classes:
    [javac] /home/hm/hadoop/build.xml:577: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 193 source files to /home/hm/hadoop/build/classes
    [javac] /home/hm/hadoop/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java:65: 警告:sun.net.util.IPAddressUtil 是 Sun 的专用 API,可能会在未来版本中删除
    [javac] import sun.net.util.IPAddressUtil;
    [javac]                    ^
    [javac] /home/hm/hadoop/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java:1053: 警告:sun.net.util.IPAddressUtil 是 Sun 的专用 API,可能会在未来版本中删除
    [javac]       if (IPAddressUtil.isIPv4LiteralAddress(interfaceName)) {
    [javac]           ^
    [javac] 注意:某些输入文件使用或覆盖了已过时的 API。
    [javac] 注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
    [javac] 2 警告
     [copy] Copying 1 file to /home/hm/hadoop/build/classes

compile-mapred-classes:
Trying to override old definition of task jsp-compile
     [copy] Copying 23 files to /home/hm/hadoop/build/webapps/job
    [javac] /home/hm/hadoop/build.xml:541: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 390 source files to /home/hm/hadoop/build/classes
    [javac] /home/hm/hadoop/src/mapred/org/apache/hadoop/mapred/MapTask.java:197: 警告:[unchecked] 未经检查的转换
    [javac] 找到: org.apache.hadoop.mapred.RecordReader
    [javac] 需要: org.apache.hadoop.mapred.RecordReader<K,V>
    [javac]       rawIn = job.getInputFormat().getRecordReader(split, job, reporter);
    [javac]                                                   ^
    [javac] /home/hm/hadoop/src/mapred/org/apache/hadoop/mapred/MapTask.java:489: 警告:[unchecked] 未经检查的转换
    [javac] 找到: org.apache.hadoop.mapreduce.RecordReader
    [javac] 需要: org.apache.hadoop.mapreduce.RecordReader<K,V>
    [javac]       this.real = inputFormat.createRecordReader(split, taskContext);
    [javac]                                                 ^
    [javac] /home/hm/hadoop/src/mapred/org/apache/hadoop/mapred/ReduceTask.java:449: 警告:[unchecked] 未经检查的转换
    [javac] 找到: org.apache.hadoop.mapred.RecordWriter
    [javac] 需要: org.apache.hadoop.mapred.RecordWriter<K,V>
    [javac]       this.real = job.getOutputFormat().getRecordWriter(fs, job, finalName,
    [javac]                                                        ^
    [javac] /home/hm/hadoop/src/mapred/org/apache/hadoop/mapred/ReduceTask.java:571: 警告:[unchecked] 未经检查的类型使用
    [javac] 找到: org.apache.hadoop.mapreduce.RecordWriter<capture#8 of ?,capture#366 of ?>
    [javac] 需要: org.apache.hadoop.mapreduce.RecordWriter<K,V>
    [javac]           .getRecordWriter(taskContext);
    [javac]                           ^
    [javac] 注意:某些输入文件使用或覆盖了已过时的 API。
    [javac] 注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
    [javac] 4 警告
     [copy] Copying 7 files to /home/hm/hadoop/build/classes

create-native-configure:

BUILD FAILED
/home/hm/hadoop/build.xml:619: Execute failed: java.io.IOException: Cannot run program "autoreconf" (in directory "/home/hm/hadoop/src/native"): java.io.IOException: error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
	at java.lang.Runtime.exec(Runtime.java:593)
	at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:41)
	at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:434)
	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:448)
	at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
	at org.apache.tools.ant.Main.runBuild(Main.java:851)
	at org.apache.tools.ant.Main.startAnt(Main.java:235)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
	at java.lang.ProcessImpl.start(ProcessImpl.java:65)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
	... 24 more

Total time: 6 minutes 39 seconds

请问最后的错误如何解决? 

加载中
0
vigiles
vigiles

O了,哈哈!

ant compile

... ...

init:
     [echo] contrib: fairscheduler
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/fairscheduler
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/fairscheduler/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/fairscheduler/test
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/fairscheduler/system
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/fairscheduler/system/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/fairscheduler/examples
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/fairscheduler/test/logs

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#fairscheduler;working@hep-ubuntu
[ivy:resolve] 	confs: [common]
[ivy:resolve] 	found commons-logging#commons-logging;1.0.4 in maven2
[ivy:resolve] 	found commons-collections#commons-collections;3.1 in maven2
[ivy:resolve] 	found commons-cli#commons-cli;1.2 in maven2
[ivy:resolve] 	found log4j#log4j;1.2.15 in maven2
[ivy:resolve] 	found junit#junit;4.5 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty-util;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jsp-api-2.1;6.1.14 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-core-asl;1.8.8 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-mapper-asl;1.8.8 in maven2
[ivy:resolve] 	found commons-httpclient#commons-httpclient;3.0.1 in maven2
[ivy:resolve] 	found commons-configuration#commons-configuration;1.6 in maven2
[ivy:resolve] 	found org.apache.commons#commons-math;2.1 in maven2
[ivy:resolve] 	found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve] downloading http://repo1.maven.org/maven2/commons-collections/commons-collections/3.1/commons-collections-3.1.jar ...
[ivy:resolve] ..................
[ivy:resolve] ........................................
[ivy:resolve] .........................................
[ivy:resolve] ....................................... (546kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] commons-collections#commons-collections;3.1!commons-collections.jar (7793ms)
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar ...
[ivy:resolve] ................................ (131kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.mortbay.jetty#jsp-api-2.1;6.1.14!jsp-api-2.1.jar (2364ms)
[ivy:resolve] :: resolution report :: resolve 11591ms :: artifacts dl 10176ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   15  |   2   |   2   |   0   ||   15  |   2   |
	---------------------------------------------------------------------

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#fairscheduler [sync]
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	15 artifacts copied, 0 already retrieved (4672kB/26ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

compile:
     [echo] contrib: fairscheduler
    [javac] /home/hep/hadoop/src/contrib/build-contrib.xml:191: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 21 source files to /home/hep/hadoop/build/contrib/fairscheduler/classes
    [javac] 注: 某些输入文件使用或覆盖了已过时的 API。
    [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。

check-libhdfs-fuse:

check-libhdfs-exists:

compile:

check-contrib:

init:
     [echo] contrib: gridmix
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/gridmix
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/gridmix/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/gridmix/test
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/gridmix/system
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/gridmix/system/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/gridmix/examples
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/gridmix/test/logs

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#gridmix;working@hep-ubuntu
[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 junit#junit;4.5 in maven2
[ivy:resolve] 	found commons-httpclient#commons-httpclient;3.0.1 in maven2
[ivy:resolve] 	found commons-codec#commons-codec;1.4 in maven2
[ivy:resolve] 	found commons-net#commons-net;3.1 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty-util;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jsp-api-2.1;6.1.14 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jsp-2.1;6.1.14 in maven2
[ivy:resolve] 	found asm#asm;3.2 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-core;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-json;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-server;1.8 in maven2
[ivy:resolve] 	found commons-cli#commons-cli;1.2 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-mapper-asl;1.8.8 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-core-asl;1.8.8 in maven2
[ivy:resolve] 	found commons-configuration#commons-configuration;1.6 in maven2
[ivy:resolve] 	found commons-collections#commons-collections;3.2.1 in maven2
[ivy:resolve] 	found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve] 	found commons-logging#commons-logging;1.1.1 in maven2
[ivy:resolve] 	found commons-digester#commons-digester;1.8 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils;1.7.0 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils-core;1.8.0 in maven2
[ivy:resolve] 	found org.apache.commons#commons-math;2.1 in maven2
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar ...
[ivy:resolve] ................................................................................
[ivy:resolve] ...........................................................................
[ivy:resolve] ............................................ (1000kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.mortbay.jetty#jsp-2.1;6.1.14!jsp-2.1.jar (5438ms)
[ivy:resolve] :: resolution report :: resolve 3147ms :: artifacts dl 5453ms
[ivy:resolve] 	:: evicted modules:
[ivy:resolve] 	commons-logging#commons-logging;1.0.4 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.0.3 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.1 by [commons-logging#commons-logging;1.1.1] in [common]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   28  |   1   |   1   |   3   ||   25  |   1   |
	---------------------------------------------------------------------

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#gridmix [sync]
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	25 artifacts copied, 0 already retrieved (7872kB/77ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

compile:
     [echo] contrib: gridmix
    [javac] /home/hep/hadoop/src/contrib/build-contrib.xml:191: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 44 source files to /home/hep/hadoop/build/contrib/gridmix/classes
    [javac] 注: /home/hep/hadoop/src/contrib/gridmix/src/java/org/apache/hadoop/mapred/gridmix/PseudoLocalFs.java使用或覆盖了已过时的 API。
    [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
    [javac] 注: 某些输入文件使用了未经检查或不安全的操作。
    [javac] 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
Trying to override old definition of task macro_tar

check-contrib:

init:
     [echo] contrib: hdfsproxy
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/hdfsproxy
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/hdfsproxy/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/hdfsproxy/test
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/hdfsproxy/system
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/hdfsproxy/system/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/hdfsproxy/examples
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/hdfsproxy/test/logs

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-resolve-common:
[ivy:resolve] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#hdfsproxy;working@hep-ubuntu
[ivy:resolve] 	confs: [common]
[ivy:resolve] 	found commons-httpclient#commons-httpclient;3.0.1 in maven2
[ivy:resolve] 	found commons-logging#commons-logging;1.0.4 in maven2
[ivy:resolve] 	found commons-cli#commons-cli;1.2 in maven2
[ivy:resolve] 	found log4j#log4j;1.2.15 in maven2
[ivy:resolve] 	found commons-logging#commons-logging-api;1.0.4 in maven2
[ivy:resolve] 	found junit#junit;4.5 in maven2
[ivy:resolve] 	found org.slf4j#slf4j-api;1.4.3 in maven2
[ivy:resolve] 	found org.slf4j#slf4j-log4j12;1.4.3 in maven2
[ivy:resolve] 	found xmlenc#xmlenc;0.52 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty-util;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2
[ivy:resolve] 	found asm#asm;3.2 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-core;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-json;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-server;1.8 in maven2
[ivy:resolve] 	found org.eclipse.jdt#core;3.1.1 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-mapper-asl;1.8.8 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-core-asl;1.8.8 in maven2
[ivy:resolve] 	found commons-configuration#commons-configuration;1.6 in maven2
[ivy:resolve] 	found commons-collections#commons-collections;3.2.1 in maven2
[ivy:resolve] 	found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve] 	found commons-logging#commons-logging;1.1.1 in maven2
[ivy:resolve] 	found commons-digester#commons-digester;1.8 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils;1.7.0 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils-core;1.8.0 in maven2
[ivy:resolve] 	found org.apache.commons#commons-math;2.1 in maven2
[ivy:resolve] :: resolution report :: resolve 214ms :: artifacts dl 12ms
[ivy:resolve] 	:: evicted modules:
[ivy:resolve] 	commons-logging#commons-logging;1.0.4 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.0.3 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.1 by [commons-logging#commons-logging;1.1.1] in [common]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   29  |   0   |   0   |   3   ||   26  |   0   |
	---------------------------------------------------------------------

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#hdfsproxy [sync]
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	26 artifacts copied, 0 already retrieved (9963kB/37ms)
[ivy:cachepath] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

compile:
     [echo] contrib: hdfsproxy
    [javac] /home/hep/hadoop/src/contrib/build-contrib.xml:191: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 12 source files to /home/hep/hadoop/build/contrib/hdfsproxy/classes
    [javac] 注: /home/hep/hadoop/src/contrib/hdfsproxy/src/java/org/apache/hadoop/hdfsproxy/AuthorizationFilter.java使用了未经检查或不安全的操作。
    [javac] 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

compile:
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/hod
     [copy] Copying 69 files to /home/hep/hadoop/build/contrib/hod

check-contrib:

init:
     [echo] contrib: index
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/index
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/index/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/index/test
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/index/system
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/index/system/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/index/examples
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/index/test/logs

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#index;working@hep-ubuntu
[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 junit#junit;4.5 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty-util;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2
[ivy:resolve] 	found asm#asm;3.2 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-core;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-json;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-server;1.8 in maven2
[ivy:resolve] 	found org.apache.lucene#lucene-core;2.3.1 in maven2
[ivy:resolve] 	found commons-configuration#commons-configuration;1.6 in maven2
[ivy:resolve] 	found commons-collections#commons-collections;3.2.1 in maven2
[ivy:resolve] 	found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve] 	found commons-logging#commons-logging;1.1.1 in maven2
[ivy:resolve] 	found commons-digester#commons-digester;1.8 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils;1.7.0 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils-core;1.8.0 in maven2
[ivy:resolve] 	found org.apache.commons#commons-math;2.1 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-core-asl;1.8.8 in maven2
[ivy:resolve] downloading http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.3.1/lucene-core-2.3.1.jar ...
[ivy:resolve] ........................................................
[ivy:resolve] ...................................................................................... (649kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] 	[SUCCESSFUL ] org.apache.lucene#lucene-core;2.3.1!lucene-core.jar (4404ms)
[ivy:resolve] :: resolution report :: resolve 7903ms :: artifacts dl 4415ms
[ivy:resolve] 	:: evicted modules:
[ivy:resolve] 	commons-logging#commons-logging;1.0.4 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.0.3 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.1 by [commons-logging#commons-logging;1.1.1] in [common]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   22  |   1   |   1   |   3   ||   19  |   1   |
	---------------------------------------------------------------------

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#index [sync]
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	19 artifacts copied, 0 already retrieved (6099kB/15ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

compile:
     [echo] contrib: index
    [javac] /home/hep/hadoop/src/contrib/build-contrib.xml:191: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 29 source files to /home/hep/hadoop/build/contrib/index/classes
    [javac] 注: 某些输入文件使用或覆盖了已过时的 API。
    [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
    [javac] 注: /home/hep/hadoop/src/contrib/index/src/java/org/apache/hadoop/contrib/index/mapred/IndexUpdateMapper.java使用了未经检查或不安全的操作。
    [javac] 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

check-contrib:

init:
     [echo] contrib: streaming
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/streaming
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/streaming/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/streaming/test
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/streaming/system
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/streaming/system/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/streaming/examples
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/streaming/test/logs

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#streaming;working@hep-ubuntu
[ivy:resolve] 	confs: [common]
[ivy:resolve] 	found commons-cli#commons-cli;1.2 in maven2
[ivy:resolve] 	found commons-logging#commons-logging;1.0.4 in maven2
[ivy:resolve] 	found junit#junit;4.5 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty-util;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#jetty;6.1.26 in maven2
[ivy:resolve] 	found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2
[ivy:resolve] 	found asm#asm;3.2 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-core;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-json;1.8 in maven2
[ivy:resolve] 	found com.sun.jersey#jersey-server;1.8 in maven2
[ivy:resolve] 	found commons-httpclient#commons-httpclient;3.0.1 in maven2
[ivy:resolve] 	found log4j#log4j;1.2.15 in maven2
[ivy:resolve] 	found commons-codec#commons-codec;1.4 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-mapper-asl;1.8.8 in maven2
[ivy:resolve] 	found org.codehaus.jackson#jackson-core-asl;1.8.8 in maven2
[ivy:resolve] 	found commons-configuration#commons-configuration;1.6 in maven2
[ivy:resolve] 	found commons-collections#commons-collections;3.2.1 in maven2
[ivy:resolve] 	found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve] 	found commons-logging#commons-logging;1.1.1 in maven2
[ivy:resolve] 	found commons-digester#commons-digester;1.8 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils;1.7.0 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils-core;1.8.0 in maven2
[ivy:resolve] 	found org.apache.commons#commons-math;2.1 in maven2
[ivy:resolve] :: resolution report :: resolve 144ms :: artifacts dl 21ms
[ivy:resolve] 	:: evicted modules:
[ivy:resolve] 	commons-logging#commons-logging;1.0.4 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.0.3 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.1 by [commons-logging#commons-logging;1.1.1] in [common]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   25  |   0   |   0   |   3   ||   22  |   0   |
	---------------------------------------------------------------------

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#streaming [sync]
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	22 artifacts copied, 0 already retrieved (6473kB/16ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

compile:
     [echo] contrib: streaming
    [javac] /home/hep/hadoop/src/contrib/build-contrib.xml:191: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 36 source files to /home/hep/hadoop/build/contrib/streaming/classes
    [javac] 注: /home/hep/hadoop/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamUtil.java使用或覆盖了已过时的 API。
    [javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
    [javac] 注: 某些输入文件使用了未经检查或不安全的操作。
    [javac] 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

check-contrib:

init:
     [echo] contrib: thriftfs
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/thriftfs
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/thriftfs/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/thriftfs/test
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/thriftfs/system
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/thriftfs/system/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/thriftfs/examples
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/thriftfs/test/logs

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#thriftfs;working@hep-ubuntu
[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-configuration#commons-configuration;1.6 in maven2
[ivy:resolve] 	found commons-collections#commons-collections;3.2.1 in maven2
[ivy:resolve] 	found commons-lang#commons-lang;2.4 in maven2
[ivy:resolve] 	found commons-logging#commons-logging;1.1.1 in maven2
[ivy:resolve] 	found commons-digester#commons-digester;1.8 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils;1.7.0 in maven2
[ivy:resolve] 	found commons-beanutils#commons-beanutils-core;1.8.0 in maven2
[ivy:resolve] 	found org.apache.commons#commons-math;2.1 in maven2
[ivy:resolve] :: resolution report :: resolve 60ms :: artifacts dl 2ms
[ivy:resolve] 	:: evicted modules:
[ivy:resolve] 	commons-logging#commons-logging;1.0.4 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.0.3 by [commons-logging#commons-logging;1.1.1] in [common]
[ivy:resolve] 	commons-logging#commons-logging;1.1 by [commons-logging#commons-logging;1.1.1] in [common]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   12  |   0   |   0   |   3   ||   9   |   0   |
	---------------------------------------------------------------------

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#thriftfs [sync]
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	9 artifacts copied, 0 already retrieved (2889kB/6ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

compile:
     [echo] contrib: thriftfs
    [javac] /home/hep/hadoop/src/contrib/build-contrib.xml:191: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to /home/hep/hadoop/build/contrib/thriftfs/classes

init:
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/vaidya
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/vaidya/classes
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/vaidya/bin
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/vaidya/conf
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/vaidya/bin
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/vaidya/conf

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#vaidya;working@hep-ubuntu
[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] :: resolution report :: resolve 13ms :: artifacts dl 1ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   2   |   0   |   0   |   0   ||   2   |   0   |
	---------------------------------------------------------------------

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#vaidya [sync]
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	2 artifacts copied, 0 already retrieved (419kB/6ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

compile:
     [echo] contrib: vaidya
    [javac] /home/hep/hadoop/src/contrib/build-contrib.xml:191: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 14 source files to /home/hep/hadoop/build/contrib/vaidya/classes
    [javac] 注: /home/hep/hadoop/src/contrib/vaidya/src/java/org/apache/hadoop/vaidya/statistics/job/JobStatistics.java使用了未经检查或不安全的操作。
    [javac] 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

compile-ant-tasks:
    [javac] /home/hep/hadoop/build.xml:2210: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 5 source files to /home/hep/hadoop/build/ant
    [javac] 警告: [options] 未与 -source 1.6 一起设置引导类路径
    [javac] 1 个警告

compile:

BUILD SUCCESSFUL
Total time: 10 minutes 3 seconds


-


hep@hep-ubuntu:~/hadoop/src/contrib/eclipse-plugin$ ant jar
Buildfile: /home/hep/hadoop/src/contrib/eclipse-plugin/build.xml

check-contrib:

init:
     [echo] contrib: eclipse-plugin

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#eclipse-plugin;working@hep-ubuntu
[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] :: resolution report :: resolve 171ms :: artifacts dl 4ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      common      |   2   |   0   |   0   |   0   ||   2   |   0   |
	---------------------------------------------------------------------

ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#eclipse-plugin [sync]
[ivy:retrieve] 	confs: [common]
[ivy:retrieve] 	0 artifacts copied, 2 already retrieved (0kB/6ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/hep/hadoop/ivy/ivysettings.xml

compile:
     [echo] contrib: eclipse-plugin
    [javac] /home/hep/hadoop/src/contrib/eclipse-plugin/build.xml:61: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

jar:
    [mkdir] Created dir: /home/hep/hadoop/build/contrib/eclipse-plugin/lib
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/eclipse-plugin/lib
     [copy] Copying /home/hep/hadoop/hadoop-core-1.1.2.jar to /home/hep/hadoop/build/contrib/eclipse-plugin/lib/hadoop-core.jar
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/eclipse-plugin/lib
     [copy] Copying /home/hep/hadoop/lib/commons-cli-1.2.jar to /home/hep/hadoop/build/contrib/eclipse-plugin/lib/commons-cli-1.2.jar
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/eclipse-plugin/lib
     [copy] Copying /home/hep/hadoop/lib/commons-configuration-1.6.jar to /home/hep/hadoop/build/contrib/eclipse-plugin/lib/commons-configuration-1.6.jar
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/eclipse-plugin/lib
     [copy] Copying /home/hep/hadoop/lib/commons-httpclient-3.0.1.jar to /home/hep/hadoop/build/contrib/eclipse-plugin/lib/commons-httpclient-3.0.1.jar
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/eclipse-plugin/lib
     [copy] Copying /home/hep/hadoop/lib/commons-lang-2.4.jar to /home/hep/hadoop/build/contrib/eclipse-plugin/lib/commons-lang-2.4.jar
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/eclipse-plugin/lib
     [copy] Copying /home/hep/hadoop/lib/jackson-core-asl-1.8.8.jar to /home/hep/hadoop/build/contrib/eclipse-plugin/lib/jackson-core-asl-1.8.8.jar
     [copy] Copying 1 file to /home/hep/hadoop/build/contrib/eclipse-plugin/lib
     [copy] Copying /home/hep/hadoop/lib/jackson-mapper-asl-1.8.8.jar to /home/hep/hadoop/build/contrib/eclipse-plugin/lib/jackson-mapper-asl-1.8.8.jar
      [jar] Building jar: /home/hep/hadoop/build/contrib/eclipse-plugin/hadoop-eclipse-plugin-1.1.2.jar

BUILD SUCCESSFUL
Total time: 3 seconds


vigiles
vigiles
回复 @rys21 : 请看这里: http://my.oschina.net/vigiles/blog/132238
rys21
rys21
请问楼主怎么解决的呢,请说详细点。我是菜鸟,望指教。
0
m
mamok
是不是再执行下 ant就行了  哈哈
0
xingxingge
xingxingge
我用的eclipse 4.2.2,hadoop 1.2.1,编译没问题,但是死活出不来你最后的那个目录界面呢。,简直要崩溃,
vigiles
vigiles
你好!你可以先看一下 http://my.oschina.net/vigiles/blog/132238 如果还有问题,欢迎一起讨论
返回顶部
顶部