close
Skip to content

[Improve][Connector-V2] Support hadoop ha and kerberos for paimon sink#6585

Merged
EricJoy2048 merged 6 commits into
apache:devfrom
dailai:support-hadoop-ha-and-kerberos
Apr 8, 2024
Merged

[Improve][Connector-V2] Support hadoop ha and kerberos for paimon sink#6585
EricJoy2048 merged 6 commits into
apache:devfrom
dailai:support-hadoop-ha-and-kerberos

Conversation

@dailai

@dailai dailai commented Mar 27, 2024

Copy link
Copy Markdown
Contributor

Purpose of this pull request

  1. Support hadoop-ha and kerberos for paimon sink
  2. Fix the bug of date type in paimon sink. We should convert date type to int when we sink paimon ranther then timestamp. Refer: org.apache.paimon.data.BinaryWriter#createValueSetter. Otherwise, when we use flink to query the date data in paimon, the date data is not correct

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

| warehouse | String | Yes | - | Paimon warehouse path |
| database | String | Yes | - | The database you want to access |
| table | String | Yes | - | The table you want to access |
| hdfs_site_path | String | No | - | |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be compatible with older versions

@dailai dailai Mar 27, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be compatible with older versions

Yes, the code is compatible with older versions. I've updated the docs.

@dailai dailai changed the title [Feature][Connector-V2] Support hadoop ha and kerberos for paimon sink [Improve][Connector-V2] Support hadoop ha and kerberos for paimon sink Mar 27, 2024
@hailin0 hailin0 added this to the 2.3.5 milestone Mar 29, 2024
@dailai dailai requested a review from hailin0 April 1, 2024 05:31
@dailai dailai force-pushed the support-hadoop-ha-and-kerberos branch from 8cc8559 to 7025b05 Compare April 3, 2024 01:04
@dailai dailai requested a review from hailin0 April 3, 2024 08:22
@hailin0

hailin0 commented Apr 7, 2024

Copy link
Copy Markdown
Member

LGTM

cc @EricJoy2048

@Carl-Zhou-CN

Copy link
Copy Markdown
Member

link #6076

@Carl-Zhou-CN

Copy link
Copy Markdown
Member

@dailai hi,Since ci cannot test your test case, can you run the test case locally and provide screenshots

return argument;
}

@VisibleForTesting

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove this annotation? It is not intended for testing purposes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Carl-Zhou-CN
This annotation is meaningful to prevent method permissions from being changed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, it's my oversight

@dailai

dailai commented Apr 8, 2024

Copy link
Copy Markdown
Contributor Author

@dailai hi,Since ci cannot test your test case, can you run the test case locally and provide screenshots

截屏2024-04-08 08 00 03
截屏2024-04-08 08 00 17

@dailai dailai requested a review from Carl-Zhou-CN April 8, 2024 00:02

@Carl-Zhou-CN Carl-Zhou-CN left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Carl-Zhou-CN

Copy link
Copy Markdown
Member

cc @EricJoy2048

@EricJoy2048

Copy link
Copy Markdown
Member

LGTM, Thanks for your contribution.

@EricJoy2048 EricJoy2048 merged commit 20b62f3 into apache:dev Apr 8, 2024
@dailai dailai deleted the support-hadoop-ha-and-kerberos branch April 10, 2024 06:56
chaorongzhi pushed a commit to chaorongzhi/seatunnel that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants