[jira] [Comment Edited] (FLINK-6703) Document how to take a savepoint on YARN

2017-09-11 Thread Bowen Li (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16161996#comment-16161996
 ] 

Bowen Li edited comment on FLINK-6703 at 9/11/17 9:09 PM:
--

I tested on our Flink-YARN cluster, and {{-m yarn-cluster}} is actually not 
required. So I'll probably just add a few code snippet of:

{{./bin/flink savepoint  -yid|-yarnapplicationId }}

[~Zentol] What do you think?


was (Author: phoenixjiangnan):
I tested on our Flink-YARN cluster, and {{-m yarn-cluster}} is actually not 
required. So I'll probably just add a few code snippet of:

{{./bin/flink savepoint  -yid|-yarnapplicationId }}

> Document how to take a savepoint on YARN
> 
>
> Key: FLINK-6703
> URL: https://issues.apache.org/jira/browse/FLINK-6703
> Project: Flink
>  Issue Type: Improvement
>  Components: Documentation, YARN
>Affects Versions: 1.3.0, 1.4.0
>Reporter: Chesnay Schepler
>Assignee: Bowen Li
>
> The documentation should have a separate entry for savepoint related CLI 
> commands in combination with YARN. It is currently not documented that you 
> have to supply the application id, nor how you can pass it.
> {code}
> ./bin/flink savepoint  -m yarn-cluster (-yid|-yarnapplicationId) 
> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (FLINK-6703) Document how to take a savepoint on YARN

2017-09-07 Thread Bowen Li (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16157873#comment-16157873
 ] 

Bowen Li edited comment on FLINK-6703 at 9/7/17 11:49 PM:
--

[~Zentol] is this still valid? is the above savepoint command for Flink job 
running in yarn-session mode?

One thing I found missing in the documentation is the following commond example:

{code:java}
$ bin/flink savepoint :jobId [-m jobManagerAddress:jobManagerPort] 
[:targetDirectory]
{code}

I've been using the above command to take savepoints in YARN all the time


was (Author: phoenixjiangnan):
[~Zentol] is this still valid? is the above savepoint command for Flink job 
running in yarn-session mode?

One thing I found missing in the documentation is the following commond example:

{code:java}
$ bin/flink savepoint :jobId [-m jobManagerAddress:jobManagerPort] 
[:targetDirectory]
{code}


> Document how to take a savepoint on YARN
> 
>
> Key: FLINK-6703
> URL: https://issues.apache.org/jira/browse/FLINK-6703
> Project: Flink
>  Issue Type: Improvement
>  Components: Documentation, YARN
>Affects Versions: 1.3.0, 1.4.0
>Reporter: Chesnay Schepler
>Assignee: Bowen Li
>
> The documentation should have a separate entry for savepoint related CLI 
> commands in combination with YARN. It is currently not documented that you 
> have to supply the application id, nor how you can pass it.
> {code}
> ./bin/flink savepoint  -m yarn-cluster (-yid|-yarnapplicationId) 
> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)