当前位置:网站首页>编译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的文件夹下才能执行

边栏推荐
猜你喜欢
随机推荐
log4js入门
Detailed explanation of @RequestBody and @ResponseBody
正则表达式快速入门笔记
干货|语义网、Web3.0、Web3、元宇宙这些概念还傻傻分不清楚?(中)
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
OC- about alloc and dealloc (haven't started writing yet)
【 HMS core 】 【 Analytics Kit] [FAQ] how to solve the payment amount in huawei pay analysis shows zero problem?
Typroa alternative tool marktext
High energy output!Tencent's internal MyCat middleware manual, both theoretical and practical
Drools 规则引擎一文读懂
jmeter接口压力测试-(二)
湖仓一体电商项目(一):项目背景和架构介绍
spark udf accepts and handles null values.
第1章 Kali与靶机系统
原生js 创建表格
Is it too late to apply for PMP now to take the September exam?Share agile full-true mock questions
The package of idea is not hollow
张量篇-初步
API 网关 APISIX 在Google Cloud T2A 和 T2D 的性能测试
Meikle Studio-Look at Hongmeng Device Development Practical Notes 7-Network Application Development









