-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-3088] Use Spark 3.2 as default Spark version #8445
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
Changes from all commits
ca046c5
0c381e9
b2aa6f4
0ad7f75
a1b15ed
8bc8b9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -246,6 +246,16 @@ | |
| <dependency> | ||
| <groupId>org.apache.spark</groupId> | ||
| <artifactId>spark-core_${scala.binary.version}</artifactId> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-client-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-client-runtime</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
|
Comment on lines
246
to
259
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. removing these won't affect using cli/spark/utilities bundles as spark will be provided |
||
| <dependency> | ||
| <groupId>org.apache.spark</groupId> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,6 +39,8 @@ | |
| import org.apache.hudi.common.util.Option; | ||
| import org.apache.hudi.config.HoodieIndexConfig; | ||
| import org.apache.hudi.config.HoodieWriteConfig; | ||
|
|
||
| import org.junit.jupiter.api.Disabled; | ||
| import org.junit.jupiter.api.Test; | ||
| import org.junit.jupiter.params.ParameterizedTest; | ||
| import org.junit.jupiter.params.provider.Arguments; | ||
|
|
@@ -198,10 +200,10 @@ public void testWriteReadHFileWithMetaFields(boolean populateMetaFields, boolean | |
| } | ||
| } | ||
|
|
||
| @Disabled("Disable the test with evolved schema for HFile since it's not supported") | ||
| @ParameterizedTest | ||
| @Override | ||
| @Test | ||
| public void testWriteReadWithEvolvedSchema() throws Exception { | ||
| // Disable the test with evolved schema for HFile since it's not supported | ||
| public void testWriteReadWithEvolvedSchema(String evolvedSchemaPath) throws Exception { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we just remove it for now? there's already a tracking jira.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's disabled with a message. should be a good reminder there. |
||
| // TODO(HUDI-3683): fix the schema evolution for HFile | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -114,6 +114,7 @@ public class TestSparkHoodieHBaseIndex extends SparkClientFunctionalTestHarness | |
| @BeforeAll | ||
| public static void init() throws Exception { | ||
| // Initialize HbaseMiniCluster | ||
| System.setProperty("zookeeper.4lw.commands.whitelist", "*"); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need these configs in this PR?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is caused by spark version upgrade and changed zookeeper's version.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. trying to run in CI without it. locally seems fine.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| hbaseConfig = HBaseConfiguration.create(); | ||
| hbaseConfig.set(ZOOKEEPER_ZNODE_PARENT, "/hudi-hbase-test"); | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IT will still be running with spark2.4 as per the docker demo setup, and moved to GH actions