You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2026/10/15 14:42:00 UTC

[jira] [Resolved] (FLINK-40860) Add bin/minicluster.sh to run an application on a MiniCluster

     [ https://issues.apache.org/jira/browse/FLINK-40860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Metzger resolved FLINK-40860.
------------------------------------
    Resolution: Fixed

Merged to master in [https://github.com/apache/flink/commit/047597e0ccede18905755f66a9fe90d2bfe61075] for 2.4

> Add bin/minicluster.sh to run an application on a MiniCluster
> -------------------------------------------------------------
>
>                 Key: FLINK-40860
>                 URL: https://issues.apache.org/jira/browse/FLINK-40860
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Deployment / Scripts, Runtime / Coordination
>            Reporter: Dale Lane
>            Assignee: Dale Lane
>            Priority: Major
>              Labels: pull-request-available
>
> Flink's MiniCluster runs a real JobManager and one or more TaskManagers merged into a single JVM, instantiating the same component classes as a distributed deployment. It is fully featured when used programmatically, but there is no operational way to run a job on one.
> {{flink run -t local}} does not offer:
> * a job identity that is stable across process restarts, so checkpoint lineage survives
> * useful behaviour when HA metadata already contains the job, because a previous process instance was terminated
> * a process lifecycle suitable for a container runtime
> Achieving this today requires writing Java against MiniCluster's internal APIs.
> This issue adds {{bin/minicluster.sh}} and a supporting entrypoint class in flink-container, giving MiniCluster the same kind of bootstrap that JobManager, TaskManager and standalone-job already have. 
> This is additive: no changes to existing interfaces, scripts or behaviours, and {{flink run -t local}} is unaffected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)