LINUX下将hadoop-0.21自带的hadoop eclipse plugin放到eclipse dropins目录中无法正常运行,使用eclipse -consolelog 发现找不到hadoop的类,解压hadoop-0.21.0-eclipse-plugin.jar发现META-INF下的MANIFEST.MF文件中,Bundle-ClassPath写的有问题,他写的是/lib/hadoop-core.jar,把hadoop目录下的hadoop-common-0.21.0.jar,hadoop-hdfs-0.21.0.jar,hadoop-mapred-0.21.0.jar,log4j-1.2.15.jar放到lib下
然后修改Bundle-ClassPath,把上述几个文件放进去,重新打包为jar文件,放到eclipse dropins目录下即可