Skip to content

[SUPPORT]The file being written is in an invalid state. Probably caused by an error thrown previously. Current state: COLUMN  #7116

@wwli05

Description

@wwli05

Describe the problem you faced

we are using flink compaction async.
sometimes, the same file group compact task will be distributed to different task manager even though the compaction plan distribute the compact task using keyby filegroupid(hudi-4397),

this will lead to the exception:
The file being written is in an invalid state. Probably caused by an error thrown previously. Current state: COLUMN

To Reproduce
Steps to reproduce the behavior:

  1. job manager is killed and restart
    2.all task managers register again
    3.say task manager1 will be assigned different file group id compact task, which maybe distribute to task manager2 before task manager re-register

i noticed that, when task manager re-registered, the compact task will continue to run which started before this re-register happened

Environment Description

  • Hudi version : 0.11.0 + hudi-4397

  • flink version : 1.14.4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    engine:flinkFlink integrationpriority:highSignificant impact; potential bugs

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions