Details
-
Sub-task
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
While working on FLINK-14048 I revisit the problem we handle deploy logic in a complicated if-else branches in CliFrontend#runProgram. Previously we said even in per-job mode and attached we deploy a session cluster for historical reasons.
However, I notice that #deployJobCluster has a parameter boolean detached. Also it is used in sql-client package. So it looks like we can deploy job cluster in attached mode as we do in sql-client package.
However, as xccui answered on mailing list here, we support only standalone session cluster for sql-client. So maybe it is not our case. Anyway, if we cannot deploy job cluster in attached mode, I'd like to know the concrete reason.