编译hadoop-0.20.2源码时执行ant eclipse-files出现.eclipse.templates does not exist问题解决方案

首先进入hadoop根目录,执行命令ant eclipse-files,会出现错误

eclipse-files:

BUILD FAILED
/usr/local/hadoop-0.20.2/build.xml:1606: /usr/local/hadoop-0.20.2/.eclipse.templates does not exist.


解决办法

/usr/local/hadoop-0.20.2/

mkdir .eclipse.templates

然后执行ant eclipse-files即可



你可能感兴趣的:(ant,eclipse-files,hadoop-0.20.2)