请问该如何编译 hadoop.dll 方法 ?

如何编译 hadoop.dll 方法 


叮当猫咪
浏览 1122回答 4
4回答

蝴蝶刀刀

1、下载Eclipse解压。 2、把hadoop-eclipse-plugin-1.1.2.jar放到eclipse的plugs目录下。 我的hadoop集群用的版本:hadoop1.1.2 hadoop0.20以后的版本的安装目录下contrib/没有eclipse的hadoop-*-eclipse-plugin.jar插件,需要自己用ant编译。

饮歌长啸

1.编译hadoop2.6.0的eclipse插件编译源码:cd src/contrib/eclipse-pluginant jar -Dversion=2.6.0 -Declipse.home=/opt/eclipse -Dhadoop.home=/opt/hadoop-2.6.0eclipse.home 和 hadoop.home 设置成你自己的环境路径命令行执行编译,产生了8个警告信息,直接忽略。compile:[echo] contrib: eclipse-plugin[javac] /software/hadoop2x-eclipse-plugin/src/contrib/eclipse-plugin/build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds[javac] Compiling 45 source files to /software/hadoop2x-eclipse-plugin/build/contrib/eclipse-plugin/classes[javac] /opt/hadoop-2.6.0/share/hadoop/common/hadoop-common-2.6.0.jar(org/apache/hadoop/fs/Path.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate': class file for org.apache.hadoop.classification.InterfaceAudience not found[javac] /opt/hadoop-2.6.0/share/hadoop/hdfs/hadoop-hdfs-
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Maya
Python