当前位置:网站首页>编译Hudi
编译Hudi
2022-07-30 10:57:00 【51CTO】

大数据技术AI
Flink/Spark/Hadoop/数仓,数据分析、面试,源码解读等干货学习资料
129篇原创内容
公众号
版本分布
- centos:centos8
- hudi:0.10.1
- spark:3.1.3
- scala:2.12
1、Maven安装
1.1 手动安装
(1)下载maven
https://maven.apache.org/download.cgi

(2)上传解压maven
(3)添加环境变量到/etc/profile中
(4)测试安装结果

1.2 apt或yum安装
2、安装git
3、构建hudi
3.1 通过国内镜像拉取源码
3.3 构建
不同spark版本的编译
Maven build options | Expected Spark bundle jar name | Notes |
(empty) | hudi-spark-bundle_2.11 (legacy bundle name) | For Spark 2.4.4 and Scala 2.11 (default options) |
| hudi-spark2.4-bundle_2.11 | For Spark 2.4.4 and Scala 2.11 (same as default) |
| hudi-spark2.4-bundle_2.12 | For Spark 2.4.4 and Scala 2.12 |
| hudi-spark3.1-bundle_2.12 | For Spark 3.1.x and Scala 2.12 |
| hudi-spark3.2-bundle_2.12 | For Spark 3.2.x and Scala 2.12 |
| hudi-spark3-bundle_2.12 (legacy bundle name) | For Spark 3.2.x and Scala 2.12 |
| hudi-spark-bundle_2.12 (legacy bundle name) | For Spark 2.4.4 and Scala 2.12 |
耗时周末一天,终于编译成功

4、问题总结
Q1:dependencies at io.confluent:kafka-avro-serializer:jar
解决:将原来的mirror也打开,阿里仓库没有

Q2:The goal you specified requires a project to execute but there is no POM in this directory (/root). Please verify you invoked Maven from the correct directory
解决:切换到有pom的文件夹下才能执行

边栏推荐
- 360 released a future-oriented EDR to protect the security of government and enterprise user terminals in an all-round way
- Introduction to IoT Technologies: Chapter 6
- MySQL之数据库维护
- AIX shell获取前几个月时间
- Meikle Studio-Look at Hongmeng Device Development Practical Notes 7-Network Application Development
- The battle-hardened programmer was also deceived by a fake programmer from a certain fish. The trust between programmers should be the highest, and he alone destroyed this sense of trust
- How to add data to the request header when feign is called remotely
- 360发布面向未来的EDR,全方位守护政企用户终端安全
- 物联网技术概论:第6章
- 第1章 Kali与靶机系统
猜你喜欢
随机推荐
Beyond Stream Processing!The 4th real-time computing Flink challenge is launched, and 490,000 prizes are waiting for you!
【 HMS core 】 【 Analytics Kit] [FAQ] how to solve the payment amount in huawei pay analysis shows zero problem?
Verilog之数码管译码
HJY-F931A/YJ three-phase voltage relay
AB测试 总结归纳
数据库性能系列之索引(上)
log4js入门
单片机开发之静态LED显示
NLP领域的最新研究进展
真正懂经营管理的CIO具备哪些特质
京东校招笔试题+知识点总结
mysql与redis 区别
Typroa alternative tool marktext
高能产出!腾讯内部的MyCat中间件手册,理论实操齐下
Beyond Stream Processing !第四届实时计算 Flink 挑战赛启动,49 万奖金等你来拿!
【ASP.NET Core】选项类的依赖注入
IP池设计思考(面试点)[通俗易懂]
360 released a future-oriented EDR to protect the security of government and enterprise user terminals in an all-round way
神经网络学习笔记3——LSTM长短期记忆网络
Meikle Studio-Look at Hongmeng Device Development Practical Notes 7-Network Application Development








![[AGC] Growth Service 2 - In-App Message Example](/img/fa/9190e45c1532aec908a6c68706629a.png)
