In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the operation method of hadoop2.2.0 third-party jar package, the content is very detailed, interested friends can refer to, hope to be helpful to you.
It is very likely that in hadoop job, we will introduce third-party packages, which are temporarily effective:
Package your own program with the class file of the third-party jar package into a jar. There is an eclipse plug-in like fatjar that can be easily packaged.
Copy third-party jar packages to all nodes in the cluster under ${HADOOP_HOME} / lib or ${JAVA_HOME} / ext
Put the third-party jar package in a directory called lib, and when you export the jar package (the guide package that comes with Eclipse) through eclipse, package this lib directory together so that when you run the MapReduce task, hadoop can load the third-party classes in the lib directory
The third-party package is specified with the-libjars run parameter, but it is not valid in my hadoop2.2.0 cluster and is still under consideration.
This is the end of the operation method introduced by the third-party jar package of hadoop2.2.0. I hope the above content can be helpful to everyone and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.