安装插件,配置好连接之后 ,点击大象图标,eclipse连不上DFS。通过Error-log分析出错原因是缺少jar包。解决方法是将commons-httpclient-3.0.1.jar,jackson-core-asl-1.0.1.jar,jackson-mapper-asl-1.0.1.jar,commons-configuration-1.6.jar,lcommons-lang-2.4.jar放入hadoop-0.20.203.0-eclipse-plugin的lib下
修改hadoop-0.20.203.0-eclipse-plugin/META-INF/MANIFEST.MF
Bundle-ClassPath: classes/,lib/hadoop-core.jar,lib/commons-cli-1.2.jar,lib/commons-httpclient-3.0.1.jar,lib/jackson-core-asl-1.0.1.jar,lib/jackson-mapper-asl-1.0.1.jar,lib/commons-configuration-1.6.jar,lib/commons-lang-2.4.jar
参考文章:http://yizhilong28.iteye.com/blog/1030536
吐嘈几句:太坑爹啦 搞了大半天
作者:像少年啦飞驰
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利.