[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2024-03-11 Thread lincoln lee (Jira)


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

lincoln lee updated FLINK-24757:

Fix Version/s: (was: 1.19.0)

> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.20.0
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{{}execution.target{}}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default if jobs are submitted from SQL client.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



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


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2024-03-11 Thread lincoln lee (Jira)


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

lincoln lee updated FLINK-24757:

Fix Version/s: 1.20.0

> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.19.0, 1.20.0
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{{}execution.target{}}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default if jobs are submitted from SQL client.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



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


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2023-10-13 Thread Jing Ge (Jira)


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

Jing Ge updated FLINK-24757:

Fix Version/s: 1.19.0
   (was: 1.18.0)

> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.19.0
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{{}execution.target{}}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default if jobs are submitted from SQL client.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



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


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2023-03-23 Thread Xintong Song (Jira)


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

Xintong Song updated FLINK-24757:
-
Fix Version/s: 1.18.0
   (was: 1.17.0)

> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.18.0
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{{}execution.target{}}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default if jobs are submitted from SQL client.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



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


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2022-09-30 Thread Huang Xingbo (Jira)


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

Huang Xingbo updated FLINK-24757:
-
Fix Version/s: 1.17.0
   (was: 1.16.0)

> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.17.0
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{{}execution.target{}}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default if jobs are submitted from SQL client.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



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


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2022-04-13 Thread Yun Gao (Jira)


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

Yun Gao updated FLINK-24757:

Fix Version/s: 1.16.0

> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.15.0, 1.16.0
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{{}execution.target{}}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default if jobs are submitted from SQL client.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2022-01-11 Thread Thomas Weise (Jira)


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

Thomas Weise updated FLINK-24757:
-
Fix Version/s: (was: 1.13.6)
   (was: 1.14.3)

> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.15.0
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{{}execution.target{}}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default if jobs are submitted from SQL client.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2021-11-07 Thread Caizhi Weng (Jira)


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

Caizhi Weng updated FLINK-24757:

Description: 
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are specifying the wrong 
{{{}execution.target{}}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes Yarn application is not terminated.

This is because yarn job cluster is using {{MiniDispatcher}} and it will 
directly terminate only in detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default if jobs are submitted from SQL client.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.

  was:
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are specifying the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes Yarn application is not terminated.

This is because yarn job cluster is using {{MiniDispatcher}} and it will 
directly terminate only in detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.


> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.15.0, 1.14.1, 1.13.4
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{{}execution.target{}}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default if jobs are submitted from SQL client.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2021-11-03 Thread Caizhi Weng (Jira)


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

Caizhi Weng updated FLINK-24757:

Description: 
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are specifying the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes Yarn application is not terminated.

This is because yarn job cluster is using {{MiniDispatcher}} and it will 
directly terminate only in detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.

  was:
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are specifying the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes the Yarn application is not terminated.

This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
directly terminate only in the detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.


> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.15.0, 1.14.1, 1.13.4
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{execution.target}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes Yarn application is not terminated.
> This is because yarn job cluster is using {{MiniDispatcher}} and it will 
> directly terminate only in detached execution mode. This execution mode is 
> (through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
> is true by default.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2021-11-03 Thread Caizhi Weng (Jira)


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

Caizhi Weng updated FLINK-24757:

Description: 
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are specifying the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes the Yarn application is not terminated.

This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
directly terminate only in the detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.

  was:
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are specifying the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes the Yarn application is not terminated.

This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
directly terminated only in the detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.


> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.15.0, 1.14.1, 1.13.4
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{execution.target}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes the Yarn application is not terminated.
> This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
> directly terminate only in the detached execution mode. This execution mode 
> is (through some function calls) related to {{DeploymentOptions#ATTACHED}} 
> which is true by default.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2021-11-03 Thread Caizhi Weng (Jira)


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

Caizhi Weng updated FLINK-24757:

Description: 
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are specifying the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes the Yarn application is not terminated.

This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
directly terminated only in the detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.

  was:
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are suspecting the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes the Yarn application is not terminated.

This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
directly terminated only in the detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.


> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.15.0, 1.14.1, 1.13.4
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are specifying the wrong 
> {{execution.target}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes the Yarn application is not terminated.
> This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
> directly terminated only in the detached execution mode. This execution mode 
> is (through some function calls) related to {{DeploymentOptions#ATTACHED}} 
> which is true by default.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FLINK-24757) Yarn application is not terminated after the job finishes when submitting a yarn-per-job insert job with SQL client

2021-11-03 Thread Caizhi Weng (Jira)


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

Caizhi Weng updated FLINK-24757:

Description: 
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are suspecting the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes the Yarn application is not terminated.

This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
directly terminated only in the detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.

  was:
I've seen this problem for about three times in the user mailing thread 
(previously I suspect that the users are suspecting the wrong 
{{execution.target}}) until I myself also bumped into this problem. I've 
submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
job finishes the Yarn application is not terminated.

This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
directly terminated only the detached execution mode. This execution mode is 
(through some function calls) related to {{DeploymentOptions#ATTACHED}} which 
is true by default.

When submitting an insert job, SQL client will not wait for the job to finish. 
Instead it only reports the job id. So I think it is reasonable to set detached 
mode for every insert job.


> Yarn application is not terminated after the job finishes when submitting a 
> yarn-per-job insert job with SQL client
> ---
>
> Key: FLINK-24757
> URL: https://issues.apache.org/jira/browse/FLINK-24757
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Client
>Affects Versions: 1.14.0
>Reporter: Caizhi Weng
>Priority: Major
> Fix For: 1.15.0, 1.14.1, 1.13.4
>
>
> I've seen this problem for about three times in the user mailing thread 
> (previously I suspect that the users are suspecting the wrong 
> {{execution.target}}) until I myself also bumped into this problem. I've 
> submitted a yarn-per-job batch insert SQL with Flink SQL client and after the 
> job finishes the Yarn application is not terminated.
> This is because yarn job cluster is using the {{MiniDispatcher}} and it will 
> directly terminated only in the detached execution mode. This execution mode 
> is (through some function calls) related to {{DeploymentOptions#ATTACHED}} 
> which is true by default.
> When submitting an insert job, SQL client will not wait for the job to 
> finish. Instead it only reports the job id. So I think it is reasonable to 
> set detached mode for every insert job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)