Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does big data export the jar package and execute it on hdfs?

2025-04-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

I am not eloquent, nor can I describe it in words, but the basic logic makes sense.

Export jar package

1. First of all, complete the coding of mapper, reducer and main method.

two. Right-click on peopleinfo's package, select export- "Java-" JAR file, and click NEXT

3. Enter the jar package name and export address, and click next- > next

4. Click Browse, select the main method, click OK, and then click Finish

The method of executing mapreduce on hdfs

Log in to big data's VM, provided that the hdfs environment has been built in the VM. Enter su-hdfs, and remember-there is a space with hdfs.

Then execute the hadoop jar jar package data file output path

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report