[英]using hadoop 2.2.0 jar files in netbeans
I was previously using hadoop 1.2.1 in one of my netbeans project. 我以前在一个netbeans项目中使用hadoop 1.2.1。 I did this by including the various jar files in the 1.2.1 distribution I downloaded from hadoop's website.
为此,我将各种jar文件包含在从hadoop网站下载的1.2.1发行版中。
I was wondering, is a similar approach with hadoop 2.2.0 possible? 我想知道,Hadoop 2.2.0的类似方法是否可行? Namely, can I just include a bunch of jar files in my netbeans project and plug into hadoop that way?
即,我可以在netbeans项目中仅包含一堆jar文件,然后以这种方式插入hadoop吗?
Thanks in advance! 提前致谢!
You can - There are more jars in the 2.x distributions of hadoop but the same principle should work. 您可以-hadoop的2.x发行版中有更多jar,但是相同的原理应该起作用。
On a side note, you may also want to look into using Maven for dependency management that will manage the list of included jars in Netbeans for you. 附带一提,您可能还想研究使用Maven进行依赖性管理,该管理将为您管理Netbeans中包含的jar列表。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.