-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](hudi) upgrade hudi to 0.15.0 #44267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
82f7731
upgrade hudi to 0.15.0
suxiaogang223 415c6de
copy HoodieLocalEngineContext
suxiaogang223 06cb47e
fix checkstyle
suxiaogang223 5dfdd0d
fix
suxiaogang223 6704722
fix
suxiaogang223 9c76c4a
fix
suxiaogang223 a557445
build fe-core success
suxiaogang223 6991b8b
fix hudi-scanner
suxiaogang223 4558a77
build hudi-scanner success
suxiaogang223 7f395c6
new hudi jni scanner using hudi-hadoop-mr
morningman 76eec2b
fix format
suxiaogang223 40f3fc7
add license
suxiaogang223 88b131c
test new hudi scanner
suxiaogang223 667191a
support force_jni_reader and use_old_hudi_jni_reader for hudi
suxiaogang223 61643f3
support force_jni_scanner for hudi in fe
suxiaogang223 bb40123
fix force_jni_reader for HudiScanNode
suxiaogang223 b5343f1
fix hudi jni scanner
suxiaogang223 dd70da2
disable fall back to native reader for hudi in be
suxiaogang223 1e0e700
fix
suxiaogang223 572e9a6
Revert "disable fall back to native reader for hudi in be"
suxiaogang223 952d2c6
fix
suxiaogang223 fae66fc
fix p2 case
suxiaogang223 0710f6f
fix case
suxiaogang223 eb1b8b6
add SessionVariable hudi_jni_scanner
suxiaogang223 b1d4669
fix
suxiaogang223 99d8d5b
move the logic about falling back to native reader from be to fe
suxiaogang223 838c91a
fix
suxiaogang223 68a9ea1
fix be
suxiaogang223 07cb843
fix paimon
suxiaogang223 19c4c27
fix be ut
suxiaogang223 5feb98d
fix for compatibility
suxiaogang223 e4e4340
fix
suxiaogang223 45b4328
remove be fall back logic
suxiaogang223 c2e27cb
fix PaimonScanNode and be ut
suxiaogang223 093f49e
format
suxiaogang223 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,227 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Licensed to the Apache Software Foundation (ASF) under one | ||
| or more contributor license agreements. See the NOTICE file | ||
| distributed with this work for additional information | ||
| regarding copyright ownership. The ASF licenses this file | ||
| to you under the Apache License, Version 2.0 (the | ||
| "License"); you may not use this file except in compliance | ||
| with the License. You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, | ||
| software distributed under the License is distributed on an | ||
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, either express or implied. See the License for the | ||
| specific language governing permissions and limitations | ||
| under the License. | ||
| --> | ||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
|
||
| <parent> | ||
| <artifactId>be-java-extensions</artifactId> | ||
| <groupId>org.apache.doris</groupId> | ||
| <version>${revision}</version> | ||
| </parent> | ||
| <modelVersion>4.0.0</modelVersion> | ||
| <artifactId>hadoop-hudi-scanner</artifactId> | ||
|
|
||
| <properties> | ||
| <doris.home>${basedir}/../../</doris.home> | ||
| <fe_ut_parallel>1</fe_ut_parallel> | ||
| <hudi.version>0.15.0</hudi.version> | ||
| <avro.version>1.11.3</avro.version> | ||
| <luben.zstd.jni.version>1.5.4-2</luben.zstd.jni.version> | ||
| <hive-apache.version>3.1.2-22</hive-apache.version> | ||
| </properties> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.apache.doris</groupId> | ||
| <artifactId>java-common</artifactId> | ||
| <version>${project.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>org.apache.thrift</groupId> | ||
| <artifactId>libthrift</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client --> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-hdfs-client</artifactId> | ||
| <version>${hadoop.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common --> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-common</artifactId> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-aws</artifactId> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-mapreduce-client-core</artifactId> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>org.junit.jupiter</groupId> | ||
| <artifactId>junit-jupiter</artifactId> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/org.apache.hudi/hudi-common --> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-common</artifactId> | ||
| <version>${hudi.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>org.apache.hbase</groupId> | ||
| <artifactId>hbase-client</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.hbase</groupId> | ||
| <artifactId>hbase-server</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.thrift</groupId> | ||
| <artifactId>libthrift</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.fasterxml.jackson.core</groupId> | ||
| <artifactId>jackson-databind</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/org.apache.hudi/hudi-io --> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-io</artifactId> | ||
| <version>${hudi.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/org.apache.hudi/hudi-hadoop-mr --> | ||
| <dependency> | ||
| <groupId>org.apache.hudi</groupId> | ||
| <artifactId>hudi-hadoop-mr</artifactId> | ||
| <version>${hudi.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/org.apache.parquet/parquet-hadoop --> | ||
| <dependency> | ||
| <groupId>org.apache.parquet</groupId> | ||
| <artifactId>parquet-hadoop-bundle</artifactId> | ||
| <version>${parquet.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/org.apache.parquet/parquet-avro --> | ||
| <dependency> | ||
| <groupId>org.apache.parquet</groupId> | ||
| <artifactId>parquet-avro</artifactId> | ||
| <version>${parquet.version}</version> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/org.apache.avro/avro --> | ||
| <dependency> | ||
| <groupId>org.apache.avro</groupId> | ||
| <artifactId>avro</artifactId> | ||
| <version>${avro.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>org.apache.commons</groupId> | ||
| <artifactId>commons-compress</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>io.airlift</groupId> | ||
| <artifactId>concurrent</artifactId> | ||
| <version>202</version> | ||
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/io.airlift/aircompressor --> | ||
| <dependency> | ||
| <groupId>io.airlift</groupId> | ||
| <artifactId>aircompressor</artifactId> | ||
| <version>${aircompressor.version}</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>com.github.luben</groupId> | ||
| <artifactId>zstd-jni</artifactId> | ||
| <version>${luben.zstd.jni.version}</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>com.esotericsoftware</groupId> | ||
| <artifactId>kryo-shaded</artifactId> | ||
| <version>4.0.2</version> | ||
| </dependency> | ||
|
|
||
| <!-- hive --> | ||
| <dependency> | ||
| <groupId>io.trino.hive</groupId> | ||
| <artifactId>hive-apache</artifactId> | ||
| <version>${hive-apache.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>org.apache.thrift</groupId> | ||
| <artifactId>libthrift</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.parquet</groupId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.avro</groupId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.airlift</groupId> | ||
| <artifactId>aircompressor</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| </dependencies> | ||
|
|
||
| <build> | ||
| <finalName>hadoop-hudi-scanner</finalName> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-assembly-plugin</artifactId> | ||
| <configuration> | ||
| <descriptors> | ||
| <descriptor>src/main/resources/package.xml</descriptor> | ||
| </descriptors> | ||
| <archive> | ||
| <manifest> | ||
| <mainClass></mainClass> | ||
| </manifest> | ||
| </archive> | ||
| </configuration> | ||
| <executions> | ||
| <execution> | ||
| <id>make-assembly</id> | ||
| <phase>package</phase> | ||
| <goals> | ||
| <goal>single</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
| </project> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.