apache / apache/hudi

Executor executes action [initialize instant ] error

Open
#11,831 6 comments 0 reactions 0 assignees View on GitHub
engine:flink
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

**_Tips before filing an issue_**

- Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?

- Join the mailing list to engage in conversations and get faster support at dev-subscribe@hudi.apache.org.

- If you have triaged this as a bug, then file an [issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.

**Describe the problem you faced**

A clear and concise description of the problem.

**To Reproduce**

Steps to reproduce the behavior:

1.CREATE TABLE t10(
id int,
num int,
ts int,
primary key (id) not enforced
)
PARTITIONED BY (num)
with(
'connector'='hudi',
'path' = 'hdfs://192.168.144.131:9000/hudi/t10',
'table.type'='COPY_ON_WRITE',
'hive_sync.enable'='true',
'hive_sync.table'='h10',
'hive_sync.db'='hudi',
'hive_sync.mode' = 'hms',
'hive_sync.metastore.uris' = 'thrift://192.168.144.131:9083'
);insert into t10 values(1,1,1);
2.
3.
4.

**Expected behavior**

1.通过flinksql创建hudi表并且同步到hive

**Environment Description**

* Hudi version :0.13.1

* Spark version :

* Hive version :3.1.3

* Hadoop version :3.3.6

* Storage (HDFS/S3/GCS..) :

* Running on Docker? (yes/no) :no

**Additional context**

Add any other context about the problem here.

**Stacktrace**

[flink-root-standalonesession-15-localhost.localdomain.log](https://github.com/user-attachments/files/16755357/flink-root-standalonesession-15-localhost.localdomain.log)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported Flink SQL CREATE TABLE and INSERT for Hudi 0.13.1 using the listed Hive 3.1.3, Hadoop 3.3.6, and HDFS setup. Start with the attached flink-root-standalonesession log and trace the executor's "initialize instant" error. Done means the table is created, the insert succeeds, and synchronization to Hive works.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, databases, stream-processing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.