简体   繁体   中英

using hadoop 2.2.0 jar files in netbeans

I was previously using hadoop 1.2.1 in one of my netbeans project. I did this by including the various jar files in the 1.2.1 distribution I downloaded from hadoop's website.

I was wondering, is a similar approach with hadoop 2.2.0 possible? Namely, can I just include a bunch of jar files in my netbeans project and plug into hadoop that way?

Thanks in advance!

You can - There are more jars in the 2.x distributions of hadoop but the same principle should work.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM